Messages in this thread | | | Date | Fri, 3 Nov 2017 07:54:56 -0400 | From | Steven Rostedt <> | 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 <rostedt@goodmis.org> 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
| |