Date: Sat, 12 Apr 2008 19:57:30 +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 subr_witness.c Message-ID: <200804121957.m3CJvUJ1003661@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
attilio 2008-04-12 19:57:30 UTC
FreeBSD src repository
Modified files:
sys/kern kern_lock.c subr_witness.c
Log:
- Re-introduce WITNESS support for lockmgr. About the old implementation
the only one difference is that lockmgr*() functions now accept
LK_NOWITNESS flag which skips ordering for the instanced calling.
- Remove an unuseful stub in witness_checkorder() (because the above check
doesn't allow ever happening) and allow witness_upgrade() to accept
non-try operation too.
Revision Changes Path
1.131 +78 -17 src/sys/kern/kern_lock.c
1.245 +0 -11 src/sys/kern/subr_witness.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200804121957.m3CJvUJ1003661>
