lkml.org 
[lkml]   [2001]   [Oct]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: linux-2.4.10-acX
Date
In article <E15qi0H-0001xD-00@the-village.bc.nu>,
Alan Cox <alan@lxorguk.ukuu.org.uk> wrote:
>> > getting very hard to merge a lot of the fixes like the truncate standards
>> > compliance stuff so they may not make Linus tree until 2.5
>>
>> What are Linus's complaints about the faster syscall path improvement?
>
>He insisted it wouldnt make it any faster. Of course rdtsc and profiling
>counters of locked cycles show otherwise..

No, I insist that it doesn't make things _noticeably_ faster (a segment
load is something like 12 cycles on a PII), and doing it complicates the
return path unnecessarily for the default case.

I seriously doubt you've (or anybody else) measured it with rdtsc or
profiling: what you call the "fast path" is never taken on regular
system calls, only on nested calls where we return to the kernel. How
many of those have you ever seen?

In short, has _anybody_ EVER seen any actual improvement from this ugly
"optimization"?

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: 2005-03-22 13:04    [W:0.063 / U:1.756 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site