freebsd_amp_hwpstate/sys/vm
John Baldwin ea7549540f - Use a timeout for the tsleep in scheduler() instead of having vmmeter()
wakeup proc0 by hand to enforce the timeout.
- When swapping out a process, keep the process locked via the proc lock
  from the first checks up until we clear PS_INMEM and set PS_SWAPPING in
  swapout().  The swapout() function now must be called with the proc lock
  held and releases it before returning.
- Comment out the code to attempt to lock a process' VM structures before
  swapping out.  It is broken in that it releases the lock after obtaining
  it.  If it does grab the lock, it needs to hand it off to swapout()
  instead of releasing it.  This can be revisisted when the VM is locked
  as this is a valid test to perform.  It also causes a lock order reversal
  for the time being, which is the immediate cause for temporarily
  disabling it.
2001-05-18 00:08:38 +00:00
..
default_pager.c
device_pager.c Undo part of the tangle of having sys/lock.h and sys/mutex.h included in 2001-05-01 08:13:21 +00:00
phys_pager.c Undo part of the tangle of having sys/lock.h and sys/mutex.h included in 2001-05-01 08:13:21 +00:00
pmap.h
swap_pager.c Actually biofinish(struct bio *, struct devstat *, int error) is more general 2001-05-06 20:00:03 +00:00
swap_pager.h
vm.h
vm_extern.h
vm_fault.c Undo part of the tangle of having sys/lock.h and sys/mutex.h included in 2001-05-01 08:13:21 +00:00
vm_glue.c - Use a timeout for the tsleep in scheduler() instead of having vmmeter() 2001-05-18 00:08:38 +00:00
vm_init.c Undo part of the tangle of having sys/lock.h and sys/mutex.h included in 2001-05-01 08:13:21 +00:00
vm_kern.c Undo part of the tangle of having sys/lock.h and sys/mutex.h included in 2001-05-01 08:13:21 +00:00
vm_kern.h
vm_map.c Undo part of the tangle of having sys/lock.h and sys/mutex.h included in 2001-05-01 08:13:21 +00:00
vm_map.h Putting sys/lockmgr.h in here allows us to depollute userland includes 2001-05-03 11:33:51 +00:00
vm_meter.c - Use a timeout for the tsleep in scheduler() instead of having vmmeter() 2001-05-18 00:08:38 +00:00
vm_mmap.c Undo part of the tangle of having sys/lock.h and sys/mutex.h included in 2001-05-01 08:13:21 +00:00
vm_object.c Undo part of the tangle of having sys/lock.h and sys/mutex.h included in 2001-05-01 08:13:21 +00:00
vm_object.h
vm_page.c Undo part of the tangle of having sys/lock.h and sys/mutex.h included in 2001-05-01 08:13:21 +00:00
vm_page.h
vm_pageout.c During the code to pick a process to kill when memory is exhausted, keep 2001-05-17 22:49:03 +00:00
vm_pageout.h
vm_pager.c
vm_pager.h
vm_param.h
vm_swap.c
vm_unix.c Undo part of the tangle of having sys/lock.h and sys/mutex.h included in 2001-05-01 08:13:21 +00:00
vm_zone.c
vm_zone.h Undo part of the tangle of having sys/lock.h and sys/mutex.h included in 2001-05-01 08:13:21 +00:00
vnode_pager.c
vnode_pager.h