lkml.org 
[lkml]   [2000]   [Oct]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: {PATCH] Re: wasting time on page fault
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/

\
 
 \ /
  Last update: 2005-03-22 12:39    [W:0.069 / U:1.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site