Date: Thu, 31 Mar 2005 04:25:59 +0000 (UTC) From: Jeff Roberson <jeff@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_lock.c Message-ID: <200503310425.j2V4PxHv092802@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200503310425.j2V4PxHv092802>
