Messages in this thread | | | Date | Wed, 14 Apr 1999 21:41:24 +0400 | From | Ivan Kokshaysky <> | Subject | Re: bug? 2.2.5 ac6 and sshd 1.2.26 |
| |
On Wed, Apr 14, 1999 at 12:30:57AM -0700, Richard Henderson wrote: > > Bother. Yet another semaphore bug. I don't think your patch is > correct, since it would decrement both count and waking with > (count=0, waking=0). >
To be exact, both are decremented when waking>=0. down_trylock() on i386 works the same way. Does it mean a bug in their code?
Ivan.
- 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/
| |