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>
Wed, 1 Feb 2012 04:52:46 +0000 (20:52 -0800)
commitf84f7e8121e08af5d133a8b38a385aaca6c66e29
tree772ac83ddac8d6063005380f0ab919e21761cbf3
parentfc1a91183f6ae691baf43624cf560082e8b2b6e3
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