kernel - Fix tmpfs hogging of the VM system
authorMatthew Dillon <dillon@apollo.backplane.com>
Sat, 2 Mar 2013 06:06:42 +0000 (22:06 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sat, 2 Mar 2013 06:06:42 +0000 (22:06 -0800)
commit527cd77dea6b04ef7c0a7a1d4f0b062311a881b9
tree069826c76b58709baf0810c797ecbd8e531317d9
parent6363f2683b09cd5c4cd7b92ec1963bb66da04543
kernel - Fix tmpfs hogging of the VM system

* tmpfs pretty much bypasses the buffer cache's normal clean/dirty
  handling.  Add appropriate VM paging wait states to prevent
  tmpfs operations from hogging free memory and causing other processes
  to stall for long periods of time in low memory situations.
sys/vfs/tmpfs/tmpfs_vnops.c