lkml.org 
[lkml]   [2004]   [Oct]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] faster signal handling on x86


On Tue, 26 Oct 2004, Zachary Amsden wrote:
>
> I noticed an unneeded write to dr7 in the signal handling path for x86.
> We only need to write to dr7 if there is a breakpoint to re-enable, and
> MOVDR is a serializing instruction, which is expensive. Getting rid of
> it gets a 33% faster signal delivery path (at least on Xeon - I didn't
> test other CPUs, so your gain may vary).

I'm suprised it is _that_ slow, but sure, no problem, the patch just makes
it match all the other paths.

I suspect Xeon is alone in being _that_ slow - I bet Netburst flushes the
whole trace cache on db7 writes.

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

\
 
 \ /
  Last update: 2009-11-18 23:46    [W:0.112 / U:0.432 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site