On 5/9/2025 9:33 AM, Frederic Weisbecker wrote: > Le Thu, May 08, 2025 at 02:43:11PM +0800, Z qiang a écrit : >> On Thu, May 8, 2025 at 12:25 AM Frederic Weisbecker <frede...@kernel.org> >> wrote: >>> On a second thought, isn't "rdp == this_cpu_ptr(&rcu_data)" enough? >> >> If the CONFIG_DEBUG_PREEMPT=y, the following code will cause >> a warning in rcuop kthreads: >> >> WARN_ON_ONCE(!rcu_rdp_is_offloaded(rdp)) > > I keep forgetting that, indeed! > > Looks good then, thanks. > > Reviewed-by: Frederic Weisbecker <frede...@kernel.org> > Applying for v6.16 with the tag. thanks, - Joel
- Re: [PATCH] rcu/nocb: Fix possible invalid rd... Joel Fernandes
- [PATCH v2] rcu/nocb: Add Safe checks for access offloa... Zqiang
- Re: [PATCH v2] rcu/nocb: Add Safe checks for acce... Joel Fernandes
- Re: [PATCH v2] rcu/nocb: Add Safe checks for ... Frederic Weisbecker
- Re: [PATCH v2] rcu/nocb: Add Safe checks ... Joel Fernandes
- Re: [PATCH v2] rcu/nocb: Add Safe checks for acce... Frederic Weisbecker
- Re: [PATCH v2] rcu/nocb: Add Safe checks for ... Z qiang
- Re: [PATCH v2] rcu/nocb: Add Safe checks ... Z qiang
- Re: [PATCH v2] rcu/nocb: Add Safe checks ... Frederic Weisbecker
- Re: [PATCH v2] rcu/nocb: Add Safe che... Joel Fernandes
- Re: [PATCH] rcutorture: Fix rcutorture_one_extend_chec... Paul E. McKenney
- Re: [PATCH] rcutorture: Fix rcutorture_one_extend... Joel Fernandes