Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [vmlocking] src/sys/kern



Module Name:    src
Committed By:   ad
Date:           Fri Apr  6 12:26:44 UTC 2007

Modified Files:
        src/sys/kern [vmlocking]: kern_mutex.c

Log Message:
- Blocking in order to avoid deadlocking against the kernel_lock turns
  out to be not so good, since it puts a lot of back pressure onto other
  locks. Instead, just drop kernel_lock and re-acquire it when returning
  from mutex_vector_exit. In the LOCKDEBUG case, continue to block as it
  helps to expose locking bugs.
- Allow NODEBUG mutexes to be spin mutexes, also. To be revisited.


To generate a diff of this commit:
cvs rdiff -r1.11.2.3 -r1.11.2.4 src/sys/kern/kern_mutex.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index