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

From: Peter Zijlstra
Date: Wed Nov 20 2024 - 10:25:42 EST


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
> width for rcutorture to poke at, so do that.
>
> Make it only configurable under RCU_EXPERT. While at it, add a comment to
> explain the layout of context_tracking->state.

Note that this means it will get selected by allyesconfig and the like,
is that desired?

If no, depends on !COMPILE_TEST can help here.