summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_turnstile.c
Commit message (Expand)AuthorAgeFilesLines
* - Move state about lock objects out of struct lock_object and into a newjhb2001-05-041-39/+4
* Undo part of the tangle of having sys/lock.h and sys/mutex.h included inmarkm2001-05-011-1/+1
* Exit and re-enter the critical section while spinning for a spinlock sojhb2001-04-171-0/+3
* Handle a rare but fatal race invoked sometimes when SIGSTOP ismarkm2001-04-131-1/+1
* Rework the witness code to work with sx locks as well as mutexes.jhb2001-03-281-1124/+118
* - Switch from using save/disable/restore_intr to using critical_enter/exitjhb2001-03-281-2/+34
* Fix mtx_legal2block. The only time that it is bad to block on a mutex isjhb2001-03-091-2/+8
* - Add an extra check in priority_propagation() for UP systems to ensure wejhb2001-03-071-1/+9
* Shuffle netgraph mutexes a bit and hold a reference on a nodejulian2001-02-281-2/+2
* Sigh. Try to get priorities sorted out. Don't bother trying tojake2001-02-281-2/+0
* Initialize native priority to PRI_MAX. It was usually 0 which made ajake2001-02-261-11/+2
* Remove brackets around variables in a function that used to bejake2001-02-251-10/+10
* Move netgraph spimlock order entries out ofjulian2001-02-251-2/+2
* Grrr, s/INVARIANTS_SUPPORT/INVARIANT_SUPPORT/.jhb2001-02-241-1/+1
* - Axe RETIP() as it was very i386 specific and unwieldy. Instead, use thejhb2001-02-241-13/+12
* Add knowledge of the netgraph spinlocks into the Witness code.julian2001-02-241-0/+2
* - Use the NOCPU constant.jhb2001-02-221-3/+3
* Change all instances of `CURPROC' and `CURTHD' to `curproc,' in orderbmilekic2001-02-121-10/+10
* Implement a unified run queue and adjust priority levels accordingly.jake2001-02-121-41/+16
* - Place back STR string declarations for lock/unlock strings used for KTR_LOCKbmilekic2001-02-111-14/+19
* Unify the two sleep lock order lists to enforce the process lock ->jhb2001-02-091-2/+2
* - Change the 'witness_list' ddb command to 'show mutexes'. Note that thisjhb2001-02-091-18/+59
* Change and clean the mutex lock interface.bmilekic2001-02-091-546/+402
* Add a new ddb command 'witness_list' that lists the mutexes held byjhb2001-01-271-0/+10
* Convert all simplelocks to mutexes and remove the simplelock implementations.jasone2001-01-241-0/+6
* - Don't use a union and fun tricks to shave one extra pointer off of structjhb2001-01-241-84/+76
* Print correct file name and line number in mtx_assert().jasone2001-01-221-6/+6
* Move most of sys/mutex.h into kern/kern_mutex.c, thereby making the mutexjasone2001-01-211-75/+388
* Make the order of the static initializer for all_mtx match the order ofjasone2001-01-211-2/+2
* Remove MUTEX_DECLARE() and MTX_COLD. Instead, postpone full mutexjasone2001-01-211-29/+81
* - Make npx_intr INTR_MPSAFE and move acquiring Giant into thejake2001-01-201-20/+0
* Implement MTX_RECURSE flag for mtx_init().bmilekic2001-01-191-20/+55
* Use PCPU_GET, PCPU_PTR and PCPU_SET to access all per-cpu variablesjake2001-01-101-3/+5
* - Add a new flag MTX_QUIET that can be passed to the various mtx_*jhb2000-12-131-40/+65
* - Add code to detect if a system call returns with locks other than Giantjake2000-12-121-1/+6
* Oops, the witness mutex is a spin lock, so use MTX_SPIN in the call tojhb2000-12-121-1/+1
* Convert more malloc+bzero to malloc+M_ZERO.dwmalone2000-12-081-2/+2
* Split the WITNESS and MUTEX_DEBUG options apart so that WITNESS does notjhb2000-12-011-9/+12
* Fix up priority propagation:jhb2000-11-301-24/+60
* Set p_mtxname when blocking on a mutex and clear it when waking up.jhb2000-11-291-0/+2
* Use an atomic operation with an appropriate memory barrier when releasingjhb2000-11-291-1/+2
* The sched_lock mutex goes after the sio mutex in the locking order sincejhb2000-11-291-1/+1
* Save the line number and filename of the last mtx_enter operation forjhb2000-11-291-0/+8
* Move the #define of _KERN_MUTEX_C_ so that it's before any system headersalfred2000-11-261-1/+6
* Add uidinfo hash and uidinfo struct to the witness order list.jake2000-11-261-0/+1
* - Protect the callout wheel with a separate spin mutex, callout_lock.jake2000-11-191-0/+1
* - Split the run queue and sleep queue linkage, so that a processjake2000-11-171-0/+1
* Don't release and acquire Giant in mi_switch(). Instead, release andjhb2000-11-161-39/+4
* Include the right headers to get the DDB #define and the db_active variable.jhb2000-11-151-0/+3
* Declare the 'witness_spin_check' properly as a per-CPU variable in thejhb2000-11-151-4/+0
OpenPOWER on IntegriCloud