Re: [git pull] scheduler fixes

Matthew Wilcox
2008-05-11T14:18:29Z

On Sun, May 11, 2008 at 04:00:17PM +0200, Ingo Molnar wrote:
> * Matthew Wilcox <matthew@wil.cx> wrote:
>
> > Current XFS CVS has a fix from myself and Christoph that gets rid of
> > the l_flushsema and replaces it with a staggered wakeup of each task
> > that's waiting as the previously woken task clears the critical
> > section.
>
> the solution is to reduce semaphore usage by converting them to mutexes.
> Is anyone working on removing legacy semaphore use from XFS?

This race is completely irrelevant to converting semaphores to mutexes.
It can only occur for semaphores which /can't/ be converted to mutexes.

--
Intel are signing my paycheques ... these opinions are still mine
"Bill, look, we understand that you're interested in selling us this
operating system, but compare it to ours. We can't possibly take such
a retrograde step."