freebsd-dev/sys/vm
John Baldwin 0f180a7cce Change msleep() and tsleep() to not alter the calling thread's priority
if the specified priority is zero.  This avoids a race where the calling
thread could read a snapshot of it's current priority, then a different
thread could change the first thread's priority, then the original thread
would call sched_prio() inside msleep() undoing the change made by the
second thread.  I used a priority of zero as no thread that calls msleep()
or tsleep() should be specifying a priority of zero anyway.

The various places that passed 'curthread->td_priority' or some variant
as the priority now pass 0.
2006-04-17 18:20:38 +00:00
..
default_pager.c
device_pager.c
memguard.c
memguard.h
phys_pager.c
pmap.h Remove the unused sva and eva arguments from pmap_remove_pages(). 2006-04-03 21:16:10 +00:00
redzone.c
redzone.h
swap_pager.c On shutdown try to turn off all swap devices. This way GEOM providers are 2006-04-10 10:03:41 +00:00
swap_pager.h On shutdown try to turn off all swap devices. This way GEOM providers are 2006-04-10 10:03:41 +00:00
uma_core.c
uma_dbg.c
uma_dbg.h
uma_int.h
uma.h
vm_contig.c Ignore dirty pages owned by "dead" objects. 2006-03-08 00:51:00 +00:00
vm_extern.h
vm_fault.c Remove leading __ from __(inline|const|signed|volatile). They are 2006-03-08 06:31:46 +00:00
vm_glue.c
vm_init.c
vm_kern.c
vm_kern.h
vm_map.c Remove leading __ from __(inline|const|signed|volatile). They are 2006-03-08 06:31:46 +00:00
vm_map.h
vm_meter.c
vm_mmap.c MFP4: Support for profiling dynamically loaded objects. 2006-03-26 12:20:54 +00:00
vm_object.c
vm_object.h
vm_page.c Remove leading __ from __(inline|const|signed|volatile). They are 2006-03-08 06:31:46 +00:00
vm_page.h
vm_pageout.c
vm_pageout.h
vm_pageq.c Remove leading __ from __(inline|const|signed|volatile). They are 2006-03-08 06:31:46 +00:00
vm_pager.c
vm_pager.h
vm_param.h
vm_unix.c
vm_zeroidle.c Change msleep() and tsleep() to not alter the calling thread's priority 2006-04-17 18:20:38 +00:00
vm.h
vnode_pager.c
vnode_pager.h