Re: [PATCH] doc/RCU/listRCU: fix an example code snippets

2025-02-17 Thread Wei Yang
On Mon, Feb 17, 2025 at 02:30:59PM -0800, Boqun Feng wrote: >On Mon, Feb 17, 2025 at 09:18:42AM +, Wei Yang wrote: >> On Mon, Feb 17, 2025 at 04:02:53PM +0800, Alan Huang wrote: >> >On Feb 17, 2025, at 15:41, Wei Yang wrote: >> >> >> >> On Mon, Feb 17, 2025 at 10:22:53AM +0800, Alan Huang wro

Re: [PATCH] doc/RCU/listRCU: fix an example code snippets

2025-02-17 Thread Boqun Feng
On Mon, Feb 17, 2025 at 09:18:42AM +, Wei Yang wrote: > On Mon, Feb 17, 2025 at 04:02:53PM +0800, Alan Huang wrote: > >On Feb 17, 2025, at 15:41, Wei Yang wrote: > >> > >> On Mon, Feb 17, 2025 at 10:22:53AM +0800, Alan Huang wrote: > >>> On Feb 17, 2025, at 10:12, Boqun Feng wrote: > >

Re: [PATCH] doc/RCU/listRCU: fix an example code snippets

2025-02-17 Thread Wei Yang
On Mon, Feb 17, 2025 at 04:02:53PM +0800, Alan Huang wrote: >On Feb 17, 2025, at 15:41, Wei Yang wrote: >> >> On Mon, Feb 17, 2025 at 10:22:53AM +0800, Alan Huang wrote: >>> On Feb 17, 2025, at 10:12, Boqun Feng wrote: Hi Wei, The change loosk good to me, thanks!

Re: [PATCH] doc/RCU/listRCU: fix an example code snippets

2025-02-17 Thread Alan Huang
On Feb 17, 2025, at 15:41, Wei Yang wrote: > > On Mon, Feb 17, 2025 at 10:22:53AM +0800, Alan Huang wrote: >> On Feb 17, 2025, at 10:12, Boqun Feng wrote: >>> >>> Hi Wei, >>> >>> The change loosk good to me, thanks! >>> >>> I queued the patch for futher reviews and tests with some changes in

Re: [PATCH] doc/RCU/listRCU: fix an example code snippets

2025-02-16 Thread Wei Yang
On Mon, Feb 17, 2025 at 10:22:53AM +0800, Alan Huang wrote: >On Feb 17, 2025, at 10:12, Boqun Feng wrote: >> >> Hi Wei, >> >> The change loosk good to me, thanks! >> >> I queued the patch for futher reviews and tests with some changes in the >> commit log (for title formating and a bit more exp

Re: [PATCH] doc/RCU/listRCU: fix an example code snippets

2025-02-16 Thread Boqun Feng
On Mon, Feb 17, 2025 at 10:22:53AM +0800, Alan Huang wrote: > On Feb 17, 2025, at 10:12, Boqun Feng wrote: > > > > Hi Wei, > > > > The change loosk good to me, thanks! > > > > I queued the patch for futher reviews and tests with some changes in the > > commit log (for title formating and a bit

Re: [PATCH] doc/RCU/listRCU: fix an example code snippets

2025-02-16 Thread Alan Huang
On Feb 17, 2025, at 10:12, Boqun Feng wrote: > > Hi Wei, > > The change loosk good to me, thanks! > > I queued the patch for futher reviews and tests with some changes in the > commit log (for title formating and a bit more explanation), please see > below. > > Regards, > Boqun > > On Wed, Ja

Re: [PATCH] doc/RCU/listRCU: fix an example code snippets

2025-02-16 Thread Boqun Feng
Hi Wei, The change loosk good to me, thanks! I queued the patch for futher reviews and tests with some changes in the commit log (for title formating and a bit more explanation), please see below. Regards, Boqun On Wed, Jan 01, 2025 at 08:23:06AM +, Wei Yang wrote: > The example code for "E

Re: [PATCH] doc/RCU/listRCU: fix an example code snippets

2025-01-22 Thread Wei Yang
Ping On Wed, Jan 01, 2025 at 08:23:06AM +, Wei Yang wrote: >The example code for "Eliminating Stale Data" looks not correct: > > * rcu_read_unlock() should put after kstrdup() > * spin_unlock() should be called before return > >Signed-off-by: Wei Yang > >--- >Hope my understanding is correc