Added BUG: in some circumstances, a process that is

waiting for a semaphore to become zero is not not woken
up when the value does actually reach zero.
http://marc.theaimsgroup.com/?l=linux-kernel&m=110260821123863&w=2
http://marc.theaimsgroup.com/?l=linux-kernel&m=110261701025794&w=2
This commit is contained in:
Michael Kerrisk 2005-07-12 10:25:16 +00:00
parent 3d85977518
commit 3e4d52e15f
1 changed files with 9 additions and 0 deletions

View File

@ -465,6 +465,15 @@ is specified for a semaphore operation).
Linux adopts a third approach: decreasing the semaphore value
as far as possible (i.e., to zero) and allowing process
termination to proceed immediately.
In kernels 2.6.x, x <= 10, there is a bug that in some circumstances
prevents a process that is waiting for a semaphore value to become
zero from being woken up when the value does actually become zero.
This bug is fixed in kernel 2.6.11.
.\" The bug report:
.\" http://marc.theaimsgroup.com/?l=linux-kernel&m=110260821123863&w=2
.\" the fix:
.\" http://marc.theaimsgroup.com/?l=linux-kernel&m=110261701025794&w=2
.SH "CONFORMING TO"
SVr4, SVID. SVr4 documents additional error conditions EINVAL, EFBIG,
ENOSPC.