cvs commit: src/sys/kern kern_lock.c

Robert Watson rwatson at FreeBSD.org
Tue Sep 27 14:03:00 PDT 2005


rwatson     2005-09-27 21:02:59 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             kern_lock.c 
  Log:
  In lockstatus(), don't lock and unlock the interlock when testing the
  sleep lock status while kdb_active, or we risk contending with the
  mutex on another CPU, resulting in a panic when using "show
  lockedvnods" while in DDB.
  
  MFC after:      3 days
  Reviewed by:    jhb
  Reported by:    kris
  
  Revision  Changes    Path
  1.94      +8 -2      src/sys/kern/kern_lock.c


More information about the cvs-src mailing list