On Fri, 3 Nov 2017 07:54:04 -0400 Steven Rostedt <[email protected]> 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))
cpu_relax();
-- Steve

