lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87y12x9ki2.fsf@oracle.com>
Date: Wed, 09 Oct 2024 11:52:37 -0700
From: Ankur Arora <ankur.a.arora@...cle.com>
To: Peter Zijlstra <peterz@...radead.org>
Cc: Ankur Arora <ankur.a.arora@...cle.com>, linux-kernel@...r.kernel.org,
        tglx@...utronix.de, paulmck@...nel.org, mingo@...nel.org,
        bigeasy@...utronix.de, juri.lelli@...hat.com,
        vincent.guittot@...aro.org, dietmar.eggemann@....com,
        rostedt@...dmis.org, bsegall@...gle.com, mgorman@...e.de,
        vschneid@...hat.com, frederic@...nel.org, efault@....de
Subject: Re: [PATCH 5/7] rcu: rename PREEMPT_AUTO to PREEMPT_LAZY


Peter Zijlstra <peterz@...radead.org> 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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ