Re: [PATCH 5/7] rcu: rename PREEMPT_AUTO to PREEMPT_LAZY

From: Ankur Arora
Date: Wed Oct 09 2024 - 14:53:41 EST



Peter Zijlstra <peterz@xxxxxxxxxxxxx> writes:

> On Wed, Oct 09, 2024 at 09:54:09AM -0700, Ankur Arora wrote:
>
>> diff --git a/kernel/rcu/Kconfig b/kernel/rcu/Kconfig
>> index 1bfe7016724f..cd3148fb566a 100644
>> --- a/kernel/rcu/Kconfig
>> +++ b/kernel/rcu/Kconfig
>> @@ -91,7 +91,7 @@ config NEED_TASKS_RCU
>>
>> config TASKS_RCU
>> bool
>> - default NEED_TASKS_RCU && (PREEMPTION || PREEMPT_AUTO)
>> + default NEED_TASKS_RCU && (PREEMPTION || PREEMPT_LAZY)
>> select IRQ_WORK
>
> PREEMPT_LAZY implies PREEMPTION

So it does. Not sure why I included that.

The PREEMPT_AUTO conditional can be removed altogether.

--
ankur