Re: [PATCH] x86: Return to kernel without IRET

From: Linus Torvalds
Date: Fri May 02 2014 - 20:12:11 EST


On Fri, May 2, 2014 at 4:51 PM, Andy Lutomirski <luto@xxxxxxxxxxxxxx> wrote:
> On my box, this saves about 100ns on each interrupt and trap that
> happens while running in kernel space. This speeds up my kernel_pf
> microbenchmark by about 17%.

Acked-by: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>

Now it just needs lots of testing to make sure it's all good. But I
can't imagine what would go wrong.

Linus
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/