[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <17f5217f-c09b-484d-daae-bb0aa54d6b9b@oracle.com>
Date: Fri, 17 Apr 2020 22:22:30 +0200
From: Alexandre Chartre <alexandre.chartre@...cle.com>
To: Peter Zijlstra <peterz@...radead.org>, tglx@...utronix.de,
jpoimboe@...hat.com
Cc: linux-kernel@...r.kernel.org, x86@...nel.org, mhiramat@...nel.org,
mbenes@...e.cz, jthierry@...hat.com
Subject: Re: [PATCH v5 00/17] objtool: vmlinux.o and noinstr validation
On 4/16/20 1:47 PM, Peter Zijlstra wrote:
> As should be familiar by now; these patches implement the noinstr
> (no-instrument) validation in objtool as requested by Thomas, to ensure
> critical code (entry for now, idle later) run no unexpected code.
>
> Functions are marked with: noinstr, which implies notrace, noinline and sticks
> things in the .noinstr.text section. Such functions can then use instr_begin()
> and instr_end() to allow calls to code outside of this section in sanctioned
> areas.
>
> On the way of getting there, it also fixes the x86/ftrace trampiline ORC
> unwind.
>
I have sent a few very minor comments; you can add my review for all patches:
Reviewed-by: Alexandre Chartre <alexandre.chartre@...cle.com>
alex.
Powered by blists - more mailing lists