kernel - Fix bug in recent swap/paging work
commit711a015923054632de5d5f62c613ad242cf82e29
authorMatthew Dillon <dillon@apollo.backplane.com>
Fri, 22 Jan 2010 17:35:24 +0000 (22 09:35 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Fri, 22 Jan 2010 17:35:24 +0000 (22 09:35 -0800)
tree6e7726e86a1448612efae76bd4cdddc46b2d047e
parent8ae5c7e01448df9bc6797560538ae7b4b16be6f4
kernel - Fix bug in recent swap/paging work

* swap_pager_getpages() was improperly removing VM pages from their
  VM queues, causing the pages to become untracked.

  This resulted in a VM page leak over time as the system begins to
  page to/from swap which eventually deadlocks the system.

* Cleanup #if conditionalized code from prior commits.
sys/vm/swap_pager.c