Re: [RFC PATCH v3 04/15] rcu: Add a small-width RCU watching counter debug option

2024-11-22 Thread Valentin Schneider
On 22/11/24 04:53, Paul E. McKenney wrote: > On Tue, Nov 19, 2024 at 04:34:51PM +0100, Valentin Schneider wrote: >> +config RCU_DYNTICKS_TORTURE >> +bool "Minimize RCU dynticks counter size" >> +depends on RCU_EXPERT >> +default n >> +help >> + This option controls the width of

Re: [RFC PATCH v3 04/15] rcu: Add a small-width RCU watching counter debug option

2024-11-22 Thread Paul E. McKenney
On Tue, Nov 19, 2024 at 04:34:51PM +0100, Valentin Schneider wrote: > A later commit will reduce the size of the RCU watching counter to free up > some bits for another purpose. Paul suggested adding a config option to > test the extreme case where the counter is reduced to its minimum usable > wid

Re: [RFC PATCH v3 04/15] rcu: Add a small-width RCU watching counter debug option

2024-11-20 Thread Valentin Schneider
On 20/11/24 15:50, Peter Zijlstra wrote: > On Tue, Nov 19, 2024 at 04:34:51PM +0100, Valentin Schneider wrote: >> A later commit will reduce the size of the RCU watching counter to free up >> some bits for another purpose. Paul suggested adding a config option to >> test the extreme case where the

Re: [RFC PATCH v3 04/15] rcu: Add a small-width RCU watching counter debug option

2024-11-20 Thread Peter Zijlstra
On Tue, Nov 19, 2024 at 04:34:51PM +0100, Valentin Schneider wrote: > A later commit will reduce the size of the RCU watching counter to free up > some bits for another purpose. Paul suggested adding a config option to > test the extreme case where the counter is reduced to its minimum usable > wid

[RFC PATCH v3 04/15] rcu: Add a small-width RCU watching counter debug option

2024-11-19 Thread Valentin Schneider
A later commit will reduce the size of the RCU watching counter to free up some bits for another purpose. Paul suggested adding a config option to test the extreme case where the counter is reduced to its minimum usable width for rcutorture to poke at, so do that. Make it only configurable under R