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

From: Linus Torvalds
Date: Tue May 15 2018 - 19:11:09 EST


On Tue, May 15, 2018 at 4:00 PM Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:

> If it is that if statement you don't like. We can get rid of it. On
> early boot, the code is called from preemptable context, it's only
> later that it is not. So we know when we can call it directly and when
> we need to have a work queue.

Oh, that looks much better to me, yes. Just doing it this way instead
removes my "ugh, that's nasty" objections.

So ack on this last version of the patch, because it doesn't scare me (or
you've worn me down ;)

Linus