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] [day] [month] [year] [list]
Date:   Fri, 3 Nov 2017 07:54:56 -0400
From:   Steven Rostedt <>
To:     John Hubbard <>
Cc:     Vlastimil Babka <>,
        LKML <>,
        Peter Zijlstra <>,
        <>, <>,
        Cong Wang <>,
        Dave Hansen <>,
        Johannes Weiner <>,
        Mel Gorman <>, Michal Hocko <>,
        Petr Mladek <>,
        Sergey Senozhatsky <>,
        "yuwang.yuwang" <>,
        Linus Torvalds <>,
        Jan Kara <>,
        Mathieu Desnoyers <>,
        Tetsuo Handa <>
Subject: Re: [PATCH v3] printk: Add console owner and waiter logic to load
 balance console writes

On Fri, 3 Nov 2017 07:54:04 -0400
Steven Rostedt <> wrote:

> The new waiter gets set only if there isn't already a waiter *and*
> there is an owner that is not current (and with the printk_safe_enter I
> don't think that is even needed).
> +				while (!READ_ONCE(console_waiter))
> +					cpu_relax();

I still need to fix the patch. I cut and pasted the bad version. This
should have been:

	while (READ_ONCE(console_waiter))

-- Steve

Powered by blists - more mailing lists