cvs commit: src/sys/kern kern_timeout.c subr_lock.c

Attilio Rao attilio at FreeBSD.org
Tue Feb 5 16:04:10 PST 2008


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


More information about the cvs-src mailing list