cvs commit: src/sys/kern kern_lock.c
Jeff Roberson
jeff at FreeBSD.org
Wed Mar 30 20:26:00 PST 2005
jeff 2005-03-31 04:25:59 UTC
FreeBSD src repository
Modified files:
sys/kern kern_lock.c
Log:
- Remove apause(). It makes no sense with our present mutex implementation
since simply unlocking a mutex does not ensure that one of the waiters
will run and acquire it. We're more likely to reacquire the mutex
before anyone else has a chance. It has also bit me three times now, as
it's not safe to drop the interlock before sleeping in many cases.
Sponsored by: Isilon Systems, Inc.
Revision Changes Path
1.85 +0 -40 src/sys/kern/kern_lock.c
More information about the cvs-src
mailing list