Re: [PATCH] vsprintf: Fix memory barriers of ptr_key to have_filed_random_ptr_key

From: Linus Torvalds
Date: Tue May 15 2018 - 15:03:50 EST


On Tue, May 15, 2018 at 11:57 AM Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:
> + queue_work(system_unbound_wq, &enable_ptr_key_work);

I think this part just makes the whole thing entirely pointless.

Now the 'not_filled_random_ptr_key' thing won't actually take effect until
possibly much later, so all the work with making this work very early
during boot (when those works are *not* done) is all for naught.

Did I miss something?

Linus