lkml.org 
[lkml]   [2003]   [Sep]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] add likely around access_ok for uaccess
Hi!

> while trying to figure out why sysv msg is around 30% slower than pipes
> for data transfers I noticed that gcc's autodetection (3.2.2) guesses
> the "if(access_ok())" tests in uaccess.h wrong and puts the error memset
> into the direct path and the copy out of line.
>
> The attached patch adds likely to the tests - any objections? What about
> the archs except i386?

How much speedup did you gain?
Pavel

--
When do you have a heart between your knees?
[Johanka's followup: and *two* hearts?]
-
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:48    [W:0.069 / U:0.120 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site