kernel - Improve pageout daemon & memory pressure detection w/tmpfs
authorMatthew Dillon <dillon@apollo.backplane.com>
Wed, 1 Feb 2012 04:52:46 +0000 (20:52 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Thu, 9 Feb 2012 03:27:15 +0000 (19:27 -0800)
commit7ab26241a9129d73605c7fad365769264ed06366
tree3ff1b0bacd40faed03309e1320a8f557d79f51dd
parent0e1521e834b1c99f6d396b0adfd81b7b2159bac5
kernel - Improve pageout daemon & memory pressure detection w/tmpfs

* PG_NEED_COMMIT pages are unwired from the buffer cache they are now
  unconditionally placed on the active queue, even if 'activate' is not
  set.

* This results in non-freeable tmpfs pages remaining in the active queue
  most of the time.  They will be cycled into the inactive queue and flushed
  out if swap is present as per normal pageout daemon operation,

  When swap is not present or is full, these pages are reactivated
  unconditionally.
sys/vm/vm_page.c