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  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Fri, 12 Jun 2020 12:28:11 -0700
From:   Andy Lutomirski <>
To:     Thomas Gleixner <>
Cc:, LKML <>,, Andrew Lutomirski <>,
        X86 ML <>,
        Frederic Weisbecker <>,
        Steven Rostedt <>,
        Joel Fernandes <>,
        Mathieu Desnoyers <>,
        Will Deacon <>,
        Peter Zijlstra <>
Subject: Re: [PATCH x86/entry: Force rcu_irq_enter() when in idle task

> On Jun 12, 2020, at 12:25 PM, Thomas Gleixner <> wrote:
> "Paul E. McKenney" <> writes:
>>> On Fri, Jun 12, 2020 at 10:49:53AM -0700, Paul E. McKenney wrote:
>>> I will therefore address this issue in a follow-on patch.
>> I should add that -your- patch from yesterday did -not- cause this
>> problem, in case that is of interest.
> So I still can add it back and amend the changelog and comment:
> Change the condition from !rcu_is_watching() to is_idle_task(current) ||
> rcu_is_watching() which enforces that interrupts in the idle task
> unconditionally invoke rcu_irq_enter() independent of the RCU state. For
> most scenarios is_idle_task() would be sufficient but Task RCU needs it
> according to Paul.

Can you easily get a call trace for a case where the system is fully booted, is_idle_task returns false, and rcu_is_watching() also returns false?

Powered by blists - more mailing lists