git: kernel - Adjust tmpfs to use the new PG_NEED_COMMIT flag

Matthew Dillon dillon at crater.dragonflybsd.org
Tue Jan 31 20:57:53 PST 2012


commit fc1a91183f6ae691baf43624cf560082e8b2b6e3
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Tue Jan 31 20:46:01 2012 -0800

    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

Summary of changes:
 sys/vfs/tmpfs/tmpfs_vnops.c |   93 ++++++++++++++++++++++---------------------
 1 files changed, 47 insertions(+), 46 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/fc1a91183f6ae691baf43624cf560082e8b2b6e3


-- 
DragonFly BSD source repository





More information about the Commits mailing list