[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160516152356.149663c8@gandalf.local.home>
Date: Mon, 16 May 2016 15:23:56 -0400
From: Steven Rostedt <rostedt@...dmis.org>
To: Borislav Petkov <bp@...e.de>
Cc: Namhyung Kim <namhyung@...nel.org>,
Masami Hiramatsu <mhiramat@...nel.org>,
LKML <linux-kernel@...r.kernel.org>,
Ingo Molnar <mingo@...nel.org>, x86@...nel.org,
"H.J. Lu" <hjl.tools@...il.com>
Subject: Re: [PATCH] ftrace/x86: Fix function graph tracer reset path
On Mon, 16 May 2016 21:19:18 +0200
Borislav Petkov <bp@...e.de> wrote:
> Btw, arch_static_branch_jump() spells that 5-byte JMP too and not until
> too long ago we had it in static_cpu_has()...
Those are "special" too.
If we can get the compiler to do the Right Thing (TM) then we should
let it.
>
> I guess after spending some time with the kernel, one can't really
> differentiate hacks from proper design anymore. :-P
>
That's because a quality of a kernel is determined by the
maintainability of all its hacks, not lack of them.
-- Steve
Powered by blists - more mailing lists