On Sat, Oct 13, 2007 at 04:24:53PM -0700, Matthew Dillon wrote:
You can check the stack frame for the RIP and if it is alreday in the
kernel, you can skip the swapgs. Given that you have to do more work for
traps from userland anyway, that's a relatively cheap change.
Joerg