Date: Thu, 27 Dec 2007 22:56:57 +0000 (UTC) From: Attilio Rao <attilio@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: <200712272256.lBRMuvSd040006@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
attilio 2007-12-27 22:56:57 UTC
FreeBSD src repository
Modified files:
sys/kern kern_lock.c
Log:
In order to avoid a huge class of deadlocks (in particular in interactions
with the interlock), owner of the lock should be only curthread or at
least, for its limited usage, NULL which identifies LK_KERNPROC.
The thread "extra argument" for the lockmgr interface is going to be
removed in the near future, but for the moment, just let kernel run for
some days with this check on in order to find potential deadlocking
places around the kernel and fix them.
Revision Changes Path
1.115 +9 -1 src/sys/kern/kern_lock.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200712272256.lBRMuvSd040006>
