[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20170526095839.7fa9135b@gandalf.local.home>
Date: Fri, 26 May 2017 09:58:39 -0400
From: Steven Rostedt <rostedt@...dmis.org>
To: Thomas Gleixner <tglx@...utronix.de>
Cc: Kees Cook <keescook@...omium.org>,
LKML <linux-kernel@...r.kernel.org>, x86@...nel.org,
Masami Hiramatsu <mhiramat@...nel.org>,
"Luis R. Rodriguez" <mcgrof@...nel.org>,
Peter Zijlstra <peterz@...radead.org>
Subject: Re: [PATCH V2] x86/ftrace: Make sure that ftrace trampolines are
not RWX
On Fri, 26 May 2017 15:50:38 +0200 (CEST)
Thomas Gleixner <tglx@...utronix.de> wrote:
> That's very early boot, right? So interrupts have to be disabled.
>
> So this wants to be:
>
> BUG_ON(irqs_disabled() && !early_boot_irqs_disabled);
>
I was thinking the same thing. I'll add a patch and retest.
Thanks!
-- Steve
Powered by blists - more mailing lists