Date: Wed, 6 Feb 2008 00:04:09 +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_timeout.c subr_lock.c Message-ID: <200802060004.m160494G028894@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
attilio 2008-02-06 00:04:09 UTC FreeBSD src repository Modified files: sys/kern kern_timeout.c subr_lock.c Log: Really, no explicit checks against against lock_class_* object should be done in consumers code: using locks properties is much more appropriate. Fix current code doing these bogus checks. Note: Really, callout are not usable by all !(LC_SPINLOCK | LC_SLEEPABLE) primitives like rmlocks doesn't implement the generic lock layer functions, but they can be equipped for this, so the check is still valid. Tested by: matteo, kris (earlier version) Reviewed by: jhb Revision Changes Path 1.109 +2 -2 src/sys/kern/kern_timeout.c 1.22 +2 -2 src/sys/kern/subr_lock.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200802060004.m160494G028894>