lkml.org 
[lkml]   [1999]   [Jun]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: New semaphore __wake_up() implementation ...
Date
>wait a sec, what about starvation issues ? if the semaphore is used for
>resource counting then it's ok. but if it is used as a mutex then we're
>in trouble. LIFO is unacceptable, FIFO might have priority inversion.
>calculating goodness() on all the processes in the waitqueue and picking
>the winner sounds like the way to go, IMHO.
>

Agree.

Davide.

--
"Debian, the Freedom in Freedom"




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

\
 
 \ /
  Last update: 2005-03-22 13:52    [W:0.026 / U:1.328 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site