Re: [PATCH] perf: optimize clear page in Intel specified model with movq instruction
From: Borislav Petkov
Date: Thu Sep 09 2021 - 06:45:07 EST
On Thu, Sep 09, 2021 at 06:34:40PM +0800, Luming Yu wrote:
> do you mean jump label would not be replaced to nop when its key is enabled?
> so we could not use it in certain functions?
> I don't understand exactly what "ain't gonna happen"
It means, you need to use an X86_FEATURE_ bit because I won't accept a
static key.
But do the benchmarks first.
--
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquette