Re: {PATCH] Re: wasting time on page fault

From: Andi Kleen (ak@suse.de)
Date: Mon Oct 09 2000 - 13:49:43 EST


On Mon, Oct 09, 2000 at 08:37:55PM +0200, Mikael Pettersson wrote:
> We could also do the following:
>
> 1. Move the error_code block from divide_error to page_fault;
> this removes one jump from the page_fault path.

It is not clear that it is worth it. You want to align error_code and
page_fault to 16 or 32 bytes bytes at least, and it would need to execute
some nops depending on the length for fallthrough
The jmp may be actually faster.

-Andi

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



This archive was generated by hypermail 2b29 : Sun Oct 15 2000 - 21:00:12 EST