Re: [PATCH 6/7] osnoise: handle quiescent states for PREEMPT_RCU=n, PREEMPTION=y

From: Sebastian Andrzej Siewior
Date: Fri Oct 11 2024 - 03:36:22 EST


On 2024-10-10 10:50:29 [-0700], Ankur Arora wrote:
> > PREEMPTION=y, PREEMPT_RCU=n should not be possible.
>
> That's a statement. Is there an argument here?

For my taste you should describe in your cover letter the actual problem
and what you intend to do about it. Then you should a series addressing
this issue which would probably qualify for all patches in your series
but 7/7 (the PPC bits for lazy preempt). 7/7 should have been the part
where you make possible to make PREEMPT_RCU selectable.

Based on my understanding so far you (or Paul) want to make PREEMPT_RCU
selectable if PREEMPT_LAZY is enabled _or_ if DYNAMIC_PREEMPT is enabled
with the NONE or VOLUNTARY model.

This series as-is made no sense to me until Peter made the snippet where
you could indeed make PREEMPT_RCU selectable.

Sebastian