freebsd-nq/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 Improve memguard a bit: 2005-12-30 11:45:07 +00:00
memguard.h Improve memguard a bit: 2005-12-30 11:45:07 +00:00
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 Add buffer corruption protection (RedZone) for kernel's malloc(9). 2006-01-31 11:09:21 +00:00
redzone.h Add buffer corruption protection (RedZone) for kernel's malloc(9). 2006-01-31 11:09:21 +00:00
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 Skip per-cpu caches associated with absent CPUs when generating a 2006-02-11 19:20:56 +00:00
uma_dbg.c Improve canonicalization of copyrights. Order copyrights by order of 2005-07-16 09:51:52 +00:00
uma_dbg.h Improve canonicalization of copyrights. Order copyrights by order of 2005-07-16 09:51:52 +00:00
uma_int.h Wrap inlines in uma_int.h in #ifdef _KERNEL so that uma_int.h can be 2005-08-04 10:03:53 +00:00
uma.h As alc pointed out to me, vm_page.c 1.305 was incomplete: uma_startup() 2005-10-08 21:03:54 +00:00
vm_contig.c Ignore dirty pages owned by "dead" objects. 2006-03-08 00:51:00 +00:00
vm_extern.h Use sf_buf_alloc() instead of vm_map_find() on exec_map to create the 2005-12-16 18:34:14 +00:00
vm_fault.c Remove leading __ from __(inline|const|signed|volatile). They are 2006-03-08 06:31:46 +00:00
vm_glue.c Use sf_buf_alloc() instead of vm_map_find() on exec_map to create the 2005-12-16 18:34:14 +00:00
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 Eliminate unneeded preallocation at initialization. 2005-12-03 22:41:15 +00:00
vm_meter.c
vm_mmap.c MFP4: Support for profiling dynamically loaded objects. 2006-03-26 12:20:54 +00:00
vm_object.c Eliminate a deadlock when creating snapshots. Blocking vn_start_write() must 2006-03-02 22:13:28 +00:00
vm_object.h Make vm_object_vndeallocate() static. The external calls to it were 2006-01-22 23:56:20 +00:00
vm_page.c Remove leading __ from __(inline|const|signed|volatile). They are 2006-03-08 06:31:46 +00:00
vm_page.h With the recent changes to the implementation of page coloring, the 2006-01-24 19:24:54 +00:00
vm_pageout.c Expand scope of marker to reduce the number of page queue scan restarts. 2006-02-17 21:02:39 +00:00
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 Normalize a significant number of kernel malloc type names: 2005-10-31 15:41:29 +00:00
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 Eliminate a deadlock when creating snapshots. Blocking vn_start_write() must 2006-03-02 22:13:28 +00:00
vnode_pager.h