cvs commit: src/sys/kern kern_condvar.c kern_synch.c

John Baldwin jhb at FreeBSD.org
Thu Sep 25 13:42:38 UTC 2008


jhb         2008-09-25 13:42:19 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             kern_condvar.c kern_synch.c 
  Log:
  SVN rev 183352 on 2008-09-25 13:42:19Z by jhb
  
  - Don't do a WITNESS_SAVE() on the interlock if it is Giant in the condition
    variable wait routines.  DROP_GIANT() already manages that state in the
    Giant interlock case.
  - Assert that Giant is held when it is passed as a sleep interlock.
  
  Revision  Changes    Path
  1.66      +12 -4     src/sys/kern/kern_condvar.c
  1.315     +2 -0      src/sys/kern/kern_synch.c


More information about the cvs-src mailing list