tmpfs - Handle low memory situations a little better (2)
authorMatthew Dillon <dillon@apollo.backplane.com>
Thu, 27 Jun 2013 01:41:19 +0000 (18:41 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Thu, 27 Jun 2013 01:41:19 +0000 (18:41 -0700)
commit6ff1f1620fde5b0fb7649f604e05eb90f0f59ff8
treea469732b835a50d1733da313ac8c103a59dc4ba7
parent79ce07d03a630ba239ae2ed5d7c96f2f86b465de
tmpfs - Handle low memory situations a little better (2)

* When handling pageout daemon requests we want to try to free pages
  directly to the VM page cache or the freeq and not necessarily cycle
  them through active or inactive.

  Shortcutting to the cache/free queues will allow the machine to
  unstick much more quickly which is particularly important on boxes
  with a lot of memory because the pageout hysteresis runs in such a
  large range.

* Greatly improves monster's performance under extreme tmpfs write loads.
sys/vfs/tmpfs/tmpfs_vnops.c