kernel - Adjust tmpfs to use the new PG_NEED_COMMIT flag
authorMatthew Dillon <dillon@apollo.backplane.com>
Wed, 1 Feb 2012 04:46:01 +0000 (20:46 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Wed, 1 Feb 2012 04:49:12 +0000 (20:49 -0800)
commitfc1a91183f6ae691baf43624cf560082e8b2b6e3
tree5c2169f83181e5add199869179fc2f0da145ff3e
parent9bf025db03b34510639b4e18981ab794dce39764
kernel - Adjust tmpfs to use the new PG_NEED_COMMIT flag

* Adjust tmpfs to use vm_page_need_commit() instead of redirtying VM
  pages in its strategy code.

* The new mechanism also allows the pageout daemon to act more naturally
  when flushing clean pages with PG_NEED_COMMIT set.

* May fix some tmpfs corruption issues

Reported-by: tuxillo
sys/vfs/tmpfs/tmpfs_vnops.c