fix excessive/insufficient wakes in __vm_unlock
authorRich Felker <dalias@aerifal.cx>
Wed, 28 Sep 2011 23:45:37 +0000 (19:45 -0400)
committerRich Felker <dalias@aerifal.cx>
Wed, 28 Sep 2011 23:45:37 +0000 (19:45 -0400)
there is no need to send a wake when the lock count does not hit zero,
but when it does, all waiters must be woken (since all with the same
sign are eligible to obtain the lock).


No differences found