summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_mutex.c
Commit message (Expand)AuthorAgeFilesLines
* Mark the thread pointer used during an adaptive spin volatile so that thejhb2006-04-141-1/+1
* - Add support for having both a shared and exclusive queue of threads injhb2006-01-271-5/+6
* Whitespace fix.jhb2006-01-241-1/+1
* Add a new file (kern/subr_lock.c) for holding code related to structjhb2006-01-171-56/+28
* Initialize thread0.td_contested in init_turnstiles() rather thanjhb2006-01-171-3/+0
* If destroying a spinlock, make sure that it is exited properly.scottl2006-01-081-0/+4
* Revert an untested local change that crept in with the lo_class changesjhb2006-01-071-4/+0
* Trying to fix compilation bustage introduced in rev1.160 by convertingavatar2006-01-071-1/+1
* Trim another pointer from struct lock_object (and thus from struct mtx andjhb2006-01-061-15/+28
* Add a new 'show lock' command to ddb. If the argument has a valid lockjhb2005-12-131-2/+73
* Move the initialization of the devmtx into the mutex_init() functionjhb2005-10-181-0/+3
* - Add an assertion to panic if one tries to call mtx_trylock() on a spinjhb2005-09-021-1/+4
* Ignore mutex asserts when we're dumping as well. This allows meps2005-07-301-1/+2
* Convert the atomic_ptr() operations over to operating on uintptr_tjhb2005-07-151-10/+9
* Add additional newline to debug.mutex.prof.stats header, so thatglebius2005-04-081-1/+1
* Divorce critical sections from spinlocks. Critical sections as denoted byjhb2005-04-041-2/+2
* Rework the optimization for spinlocks on UP to be slightly less drastic andjhb2005-01-051-8/+2
* Refine the turnstile and sleep queue interfaces just a bit:jhb2004-10-121-5/+4
* Force MUTEX_WAKE_ALL.ups2004-10-121-0/+9
* Turn PREEMPTION into a kernel option. Make sure that it's defined ifscottl2004-09-021-0/+1
* add options MPROF_BUFFERS and MPROF_HASH_SIZE that adjust the sizes ofjmg2004-08-191-0/+10
* Cache the value of curthread in the _get_sleep_lock() and _get_spin_lock()jhb2004-08-041-4/+5
* Instead of calling ia32_pause() conditionally on __i386__ or __amd64__mux2004-08-031-15/+5
* Add "options ADAPTIVE_GIANT" which causes Giant to also be treated inrwatson2004-07-271-0/+4
* #ifdef __i386__ -> __i386__ || __amd64__peter2004-07-201-5/+5
* Now we have NO_ADAPTIVE_MUTEXES option, so use it here too.pjd2004-07-181-1/+1
* Enable ADAPTIVE_MUTEXES by default by changing the sense of the option toscottl2004-07-181-3/+3
* Update for the KDB framework:marcel2004-07-101-5/+2
* Implement preemption of kernel threads natively in the scheduler ratherjhb2004-07-021-0/+6
* - Change mi_switch() and sched_switch() to accept an optional thread tojhb2004-07-021-1/+1
* Add a new kernel option MUTEX_WAKE_ALL that changes the mutex unlock codejhb2004-04-061-0/+10
* Add a reset sysctl for mutex profiling: zeros all of the mutexrwatson2004-01-281-0/+27
* Rework witness_lock() to make it slightly more useful and flexible.jhb2004-01-281-0/+4
* - Add a flags parameter to mi_switch. The value of flags may be SW_VOL orjeff2004-01-251-2/+1
* Add some basic support for measuring sleep mutex contention to therwatson2004-01-251-5/+33
* - Allow mtx_trylock() to recurse on a recursive mutex. Attempts to recursejhb2004-01-051-5/+11
* Add an implementation of turnstiles and change the sleep mutex code to usejhb2003-11-111-225/+39
* If a spin lock is held for too long and WITNESS is enabled, then calljhb2003-07-311-3/+9
* When complaining about a sleeping thread owning a mutex, display thejhb2003-07-301-1/+3
* - Add comments about the maintenance of the per-thread list of contestedjhb2003-07-021-4/+9
* Use __FBSDID().obrien2003-06-111-1/+3
* Add "" around mutex name to make message less confusing.phk2003-05-311-1/+1
* Use TD_IS_RUNNING() instead of thread_running() in the adaptive mutexjhb2003-04-171-7/+2
* Move the _oncpu entry from the KSE to the thread.julian2003-04-101-1/+2
* Remove unused mtx_lock_giant(), mtx_unlock_giant(), related globalstjr2003-03-231-43/+0
* Including <sys/stdint.h> is (almost?) universally only to be able to usephk2003-03-181-1/+0
* Axe the useless MTX_SLEEPABLE flag. mutexes are not sleepable locks.jhb2003-03-111-3/+1
* Remove safety belt: it is now ok to do a mtx_trylock() on a mutex youjhb2003-03-041-5/+4
* Miscellaneous cleanups to _mtx_lock_sleep():jhb2003-03-041-4/+6
* Properly assert that mtx_trylock() is not called on a mutex we alreadyjhb2003-03-041-8/+4
OpenPOWER on IntegriCloud