lkml.org 
[lkml]   [2006]   [Mar]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] 2.6.16 - futex: small optimization (?)
Ulrich Drepper wrote:
> On 3/27/06, Pierre PEIFFER <pierre.peiffer@bull.net> wrote:
>> I found a (optimization ?) problem in the futexes, during a futex_wake,
>> if the waiter has a higher priority than the waker.
>
> There are no such situations anymore in an optimal userlevel
> implementation. The last problem (in pthread_cond_signal) was fixed
> by the addition of FUTEX_WAKE_OP. The userlevel code you're looking
> at is simply not optimized for the modern kernels.

What are you suggesting here, that the kernel can be inefficient as long
as the user has a way to program around it?

--
-bill davidsen (davidsen@tmr.com)
"The secret to procrastination is to put things off until the
last possible moment - but no longer" -me

-
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: 2006-03-29 01:12    [W:1.003 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site