[PATCH] access_ok is likely
From Manfred 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. So tell the compiler that access_ok() is likely to be true.
Showing
Please register or sign in to comment