index
:
FreeBSD-src
RELENG_2_2
RELENG_2_3
RELENG_2_3_0
RELENG_2_3_1
RELENG_2_3_2
RELENG_2_3_3
RELENG_2_3_4
RELENG_2_4
RELENG_2_4_4
RELENG_2_4_OLD
devel
devel-11
releng/10.1
releng/10.3
releng/11.0
releng/11.1
stable/10
stable/11
Raptor Engineering's fork of pfsense FreeBSD src with pfSense changes
Raptor Engineering, LLC
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
sys
/
kern
/
kern_mutex.c
Commit message (
Expand
)
Author
Age
Files
Lines
*
Move the initialization of the devmtx into the mutex_init() function
jhb
2005-10-18
1
-0
/
+3
*
- Add an assertion to panic if one tries to call mtx_trylock() on a spin
jhb
2005-09-02
1
-1
/
+4
*
Ignore mutex asserts when we're dumping as well. This allows me
ps
2005-07-30
1
-1
/
+2
*
Convert the atomic_ptr() operations over to operating on uintptr_t
jhb
2005-07-15
1
-10
/
+9
*
Add additional newline to debug.mutex.prof.stats header, so that
glebius
2005-04-08
1
-1
/
+1
*
Divorce critical sections from spinlocks. Critical sections as denoted by
jhb
2005-04-04
1
-2
/
+2
*
Rework the optimization for spinlocks on UP to be slightly less drastic and
jhb
2005-01-05
1
-8
/
+2
*
Refine the turnstile and sleep queue interfaces just a bit:
jhb
2004-10-12
1
-5
/
+4
*
Force MUTEX_WAKE_ALL.
ups
2004-10-12
1
-0
/
+9
*
Turn PREEMPTION into a kernel option. Make sure that it's defined if
scottl
2004-09-02
1
-0
/
+1
*
add options MPROF_BUFFERS and MPROF_HASH_SIZE that adjust the sizes of
jmg
2004-08-19
1
-0
/
+10
*
Cache the value of curthread in the _get_sleep_lock() and _get_spin_lock()
jhb
2004-08-04
1
-4
/
+5
*
Instead of calling ia32_pause() conditionally on __i386__ or __amd64__
mux
2004-08-03
1
-15
/
+5
*
Add "options ADAPTIVE_GIANT" which causes Giant to also be treated in
rwatson
2004-07-27
1
-0
/
+4
*
#ifdef __i386__ -> __i386__ || __amd64__
peter
2004-07-20
1
-5
/
+5
*
Now we have NO_ADAPTIVE_MUTEXES option, so use it here too.
pjd
2004-07-18
1
-1
/
+1
*
Enable ADAPTIVE_MUTEXES by default by changing the sense of the option to
scottl
2004-07-18
1
-3
/
+3
*
Update for the KDB framework:
marcel
2004-07-10
1
-5
/
+2
*
Implement preemption of kernel threads natively in the scheduler rather
jhb
2004-07-02
1
-0
/
+6
*
- Change mi_switch() and sched_switch() to accept an optional thread to
jhb
2004-07-02
1
-1
/
+1
*
Add a new kernel option MUTEX_WAKE_ALL that changes the mutex unlock code
jhb
2004-04-06
1
-0
/
+10
*
Add a reset sysctl for mutex profiling: zeros all of the mutex
rwatson
2004-01-28
1
-0
/
+27
*
Rework witness_lock() to make it slightly more useful and flexible.
jhb
2004-01-28
1
-0
/
+4
*
- Add a flags parameter to mi_switch. The value of flags may be SW_VOL or
jeff
2004-01-25
1
-2
/
+1
*
Add some basic support for measuring sleep mutex contention to the
rwatson
2004-01-25
1
-5
/
+33
*
- Allow mtx_trylock() to recurse on a recursive mutex. Attempts to recurse
jhb
2004-01-05
1
-5
/
+11
*
Add an implementation of turnstiles and change the sleep mutex code to use
jhb
2003-11-11
1
-225
/
+39
*
If a spin lock is held for too long and WITNESS is enabled, then call
jhb
2003-07-31
1
-3
/
+9
*
When complaining about a sleeping thread owning a mutex, display the
jhb
2003-07-30
1
-1
/
+3
*
- Add comments about the maintenance of the per-thread list of contested
jhb
2003-07-02
1
-4
/
+9
*
Use __FBSDID().
obrien
2003-06-11
1
-1
/
+3
*
Add "" around mutex name to make message less confusing.
phk
2003-05-31
1
-1
/
+1
*
Use TD_IS_RUNNING() instead of thread_running() in the adaptive mutex
jhb
2003-04-17
1
-7
/
+2
*
Move the _oncpu entry from the KSE to the thread.
julian
2003-04-10
1
-1
/
+2
*
Remove unused mtx_lock_giant(), mtx_unlock_giant(), related globals
tjr
2003-03-23
1
-43
/
+0
*
Including <sys/stdint.h> is (almost?) universally only to be able to use
phk
2003-03-18
1
-1
/
+0
*
Axe the useless MTX_SLEEPABLE flag. mutexes are not sleepable locks.
jhb
2003-03-11
1
-3
/
+1
*
Remove safety belt: it is now ok to do a mtx_trylock() on a mutex you
jhb
2003-03-04
1
-5
/
+4
*
Miscellaneous cleanups to _mtx_lock_sleep():
jhb
2003-03-04
1
-4
/
+6
*
Properly assert that mtx_trylock() is not called on a mutex we already
jhb
2003-03-04
1
-8
/
+4
*
Unbreak mutex profiling (at least for me).
mtm
2003-02-25
1
-3
/
+15
*
There's absolutely no need for a struct-within-a-struct, so move the
des
2003-01-21
1
-14
/
+12
*
Disable the kernacc() check in mtx_validate() until such time that kernacc
phk
2002-10-25
1
-0
/
+5
*
Whitespace cleanup.
des
2002-10-23
1
-10
/
+9
*
Change the `mutex_prof' structure to use three variables contained
robert
2002-10-22
1
-18
/
+14
*
Reduce the overhead of the mutex statistics gathering code, try to produce
des
2002-10-21
1
-19
/
+28
*
- Create a new scheduler api that is defined in sys/sched.h
jeff
2002-10-12
1
-4
/
+2
*
Rename the mutex thread and process states to use a more generic 'LOCK'
jhb
2002-10-02
1
-13
/
+13
*
uh, commit all of the patch
julian
2002-09-29
1
-0
/
+1
*
commit the version I actually tested..
julian
2002-09-29
1
-2
/
+4
[next]