Re: [PATCH] rcu/nocb: Fix possible invalid rdp's->nocb_cb_kthread pointer access

2025-05-16 Thread Z qiang
> > On 5/9/2025 3:07 PM, Joel Fernandes wrote: > > > > > > On 5/7/2025 7:26 AM, Zqiang wrote: > >> In the preparation stage of CPU online, if the corresponding > >> the rdp's->nocb_cb_kthread does not exist, will be created, > >> there is a situation where the rdp's rcuop kthreads creation fails, >

Re: [PATCH] rcu/nocb: Fix possible invalid rdp's->nocb_cb_kthread pointer access

2025-05-09 Thread Joel Fernandes
On 5/7/2025 7:26 AM, Zqiang wrote: > In the preparation stage of CPU online, if the corresponding > the rdp's->nocb_cb_kthread does not exist, will be created, > there is a situation where the rdp's rcuop kthreads creation fails, > and then de-offload this CPU's rdp, does not assign this CPU's >

Re: [PATCH] rcu/nocb: Fix possible invalid rdp's->nocb_cb_kthread pointer access

2025-05-09 Thread Joel Fernandes
On 5/9/2025 3:07 PM, Joel Fernandes wrote: > > > On 5/7/2025 7:26 AM, Zqiang wrote: >> In the preparation stage of CPU online, if the corresponding >> the rdp's->nocb_cb_kthread does not exist, will be created, >> there is a situation where the rdp's rcuop kthreads creation fails, >> and then de-

Re: [PATCH] rcu/nocb: Fix possible invalid rdp's->nocb_cb_kthread pointer access

2025-05-08 Thread Paul E. McKenney
On Fri, May 09, 2025 at 11:32:13AM +0800, Z qiang wrote: > > > > On Wed, May 07, 2025 at 07:26:05PM +0800, Zqiang wrote: > > > In the preparation stage of CPU online, if the corresponding > > > the rdp's->nocb_cb_kthread does not exist, will be created, > > > there is a situation where the rdp's rc

Re: [PATCH] rcu/nocb: Fix possible invalid rdp's->nocb_cb_kthread pointer access

2025-05-08 Thread Z qiang
> > On Wed, May 07, 2025 at 07:26:05PM +0800, Zqiang wrote: > > In the preparation stage of CPU online, if the corresponding > > the rdp's->nocb_cb_kthread does not exist, will be created, > > there is a situation where the rdp's rcuop kthreads creation fails, > > and then de-offload this CPU's rdp

Re: [PATCH] rcu/nocb: Fix possible invalid rdp's->nocb_cb_kthread pointer access

2025-05-08 Thread Paul E. McKenney
On Wed, May 07, 2025 at 07:26:05PM +0800, Zqiang wrote: > In the preparation stage of CPU online, if the corresponding > the rdp's->nocb_cb_kthread does not exist, will be created, > there is a situation where the rdp's rcuop kthreads creation fails, > and then de-offload this CPU's rdp, does not a

[PATCH] rcu/nocb: Fix possible invalid rdp's->nocb_cb_kthread pointer access

2025-05-07 Thread Zqiang
In the preparation stage of CPU online, if the corresponding the rdp's->nocb_cb_kthread does not exist, will be created, there is a situation where the rdp's rcuop kthreads creation fails, and then de-offload this CPU's rdp, does not assign this CPU's rdp->nocb_cb_kthread pointer, but this rdp's->n