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>
Thu, 9 Feb 2012 03:27:32 +0000 (19:27 -0800)
commitb5c0b8b2961e85db9aa2fa2c2cd1a77d91a692e5
tree744f5db0a022938c3ad588dca749fa4519cbd720
parent3df0509c475eb0ce3da5b44bf7d7c5394abcfaa0
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