Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sun, 28 Jan 2018 20:00:35 +0100
From: Ingo Molnar <>
To: Andy Lutomirski <>
Cc:, LKML <>,
	Linus Torvalds <>,
	Kernel Hardening <>,
	Borislav Petkov <>
Subject: Re: [PATCH 1/3] x86/entry/64: Remove the SYSCALL64 fast path

* Andy Lutomirski <> wrote:

> The SYCALLL64 fast path was a nice, if small, optimization back in
> the good old days when syscalls were actually reasonably fast.  Now
> we have PTI to slow everything down, and indirect branches are
> verboten, making everything messier.  The retpoline code in the fast
> path was particularly nasty.
> Just get rid of the fast path.  The slow path is barely slower.
> Signed-off-by: Andy Lutomirski <>
> ---
> This isn't quite identical to Linus' patch.  I cleaned up the
> SYSCALL64 entry code to use all pushes rather than pushing all but 6
> regs and moving the rest.

Hm, could we please have this in two parts please, out of general paranoia?

One patch doing the easy fast path removal, the other doing the mov/push 

Bisectability, reviewability and all that.

Exact same patch result.



Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.