On Mon, May 30, 2022 at 10:54:26AM -0400, Joel Fernandes wrote: > >> +void call_rcu_lazy(struct rcu_head *head_rcu, rcu_callback_t func) > >> +{ > >> + struct lazy_rcu_head *head = (struct lazy_rcu_head *)head_rcu; > >> + struct rcu_lazy_pcp *rlp; > >> + > >> + preempt_disable(); > >> + rlp = this_cpu_ptr(&rcu_lazy_pcp_ins); > >> + preempt_enable(); > >> > > Can we get rid of such explicit disabling/enabling preemption? > > Ok I'll try. Last I checked, something needs to disable preemption to > prevent warnings with sampling the current processor ID. raw_cpu_ptr() Thanks.