Re: [PATCH v2 10/20] x86: avoid W^X being broken during modules loading

Borislav Petkov
2019-02-11T19:01:18Z

On Mon, Feb 11, 2019 at 10:45:26AM -0800, Nadav Amit wrote:
> Are you sure about that? This path is still used when modules are loaded.

Yes, I'm sure. Loading a module does a gazillion things so saving a
couple of insns - yes, boot_cpu_has() is usually a RIP-relative MOV and a
TEST - doesn't show even as a blip on any radar.

--
Regards/Gruss,
Boris.

Good mailing practices for 400: avoid top-posting and trim the reply.