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

From: H. Peter Anvin
Date: Sat May 03 2014 - 00:14:19 EST


On 05/02/2014 04:53 PM, Andy Lutomirski 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%.
>
> Signed-off-by: Andy Lutomirski <luto@xxxxxxxxxxxxxx>

I'd really like to see a workload which would genuinely benefit before
adding more complexity. Now... if we can determine that it doesn't harm
anything and would solve the NMI nesting problem cleaner than the
current solution, that would justify things, too...

-hpa

--
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/