Re: [patch V2 5/5] x86/kaiser: Add boottime disable switch

From: Peter Zijlstra
Date: Mon Nov 27 2017 - 07:50:20 EST


On Mon, Nov 27, 2017 at 12:50:45PM +0100, Thomas Gleixner wrote:
> On Mon, 27 Nov 2017, Peter Zijlstra wrote:
> > On Mon, Nov 27, 2017 at 10:48:46AM +0100, Peter Zijlstra wrote:

> > > So in patch 15 Andy notes that we should probably also disable the
> > > SYSCALL trampoline when we disable KAISER.
> > >
> > > https://lkml.kernel.org/r/20171124172411.19476-16-mingo@xxxxxxxxxx
> >
> > Could be a simple as this.. but I've not tested.
>
> That's only one part of it. I think we need to fiddle with the exit side as
> well.

So I assumed that the patches were bisectable. From that I figured the
exit path (patch 14 in that set) would work either way.