From: Rich Felker Date: Wed, 28 Sep 2011 23:45:37 +0000 (-0400) Subject: fix excessive/insufficient wakes in __vm_unlock X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=commitdiff_plain;h=de543b05c87d79a9313991810e9ee8ecdaad8f19;hp=de543b05c87d79a9313991810e9ee8ecdaad8f19 fix excessive/insufficient wakes in __vm_unlock 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). ---