summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_mutex.c
Commit message (Expand)AuthorAgeFilesLines
...
* track lock class name in a way that doesn't break WITNESSkmacy2006-11-131-1/+1
* MUTEX_PROFILING has been generalized to LOCK_PROFILING. We now profilekmacy2006-11-111-248/+30
* - When spinning on a spin lock, if the debugger is active or we are in ajhb2006-08-151-6/+12
* Adjust td_locks for non-spin mutexes, rwlocks, and sx locks so that it isjhb2006-07-271-1/+7
* Write a magic value into mtx_lock when destroying a mutex that will forcejhb2006-07-271-0/+11
* Bah, fix fat finger in last. Invert the ~ on MTX_FLAGMASK as it'sjhb2006-06-031-2/+2
* Simplify mtx_owner() so it only reads m->mtx_lock once.jhb2006-06-031-2/+1
* Style fix to be more like _mtx_lock_sleep(): use 'while (!foo) { ... }'jhb2006-06-031-3/+1
* Since DELAY() was moved, most <machine/clock.h> #includes have beenphk2006-05-161-1/+0
* Remove various bits of conditional Alpha code and fixup a few comments.jhb2006-05-121-6/+0
* 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
OpenPOWER on IntegriCloud