Re: [PATCH 1/3] rcu/nocb: Use switch/case on NOCB timer state machine

2024-10-10 Thread Frederic Weisbecker
Le Thu, Oct 10, 2024 at 01:16:41AM -0700, Boqun Feng a écrit : > On Wed, Oct 02, 2024 at 04:57:36PM +0200, Frederic Weisbecker wrote: > > It's more convenient to benefit from the fallthrough feature of > > switch / case to handle the timer state machine. Also a new state is > > about to be added th

Re: [PATCH 1/3] rcu/nocb: Use switch/case on NOCB timer state machine

2024-10-10 Thread Boqun Feng
On Wed, Oct 02, 2024 at 04:57:36PM +0200, Frederic Weisbecker wrote: > It's more convenient to benefit from the fallthrough feature of > switch / case to handle the timer state machine. Also a new state is > about to be added that will take advantage of it. > > No intended functional change. > >

[PATCH 1/3] rcu/nocb: Use switch/case on NOCB timer state machine

2024-10-02 Thread Frederic Weisbecker
It's more convenient to benefit from the fallthrough feature of switch / case to handle the timer state machine. Also a new state is about to be added that will take advantage of it. No intended functional change. Signed-off-by: Frederic Weisbecker --- kernel/rcu/tree_nocb.h | 33 ++