Re: [PATCH 01/25] x86: Make SMAP 64-bit only
From: Peter Zijlstra
Date: Mon Mar 18 2019 - 13:51:51 EST
On Mon, Mar 18, 2019 at 06:36:57PM +0100, Peter Zijlstra wrote:
> then I'd sleep much better if we make 32bit context switch EFLAGS.
> Because, yes, x86_64 objtool validates a lot of the x86_32 code too, but
> unless we have 100% coverage, there's always the chance an AC=1 escapes.
How about I do a patch that schedules EFLAGS for both 32bit and 64bit,
mark this for backporting to infinity.
And then at the end, after the objtool-ac bits land, I do a patch
removing the EFLAGS scheduling for x86_64.