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

Matthew Dillon dillon at crater.dragonflybsd.org
Wed Feb 8 19:27:55 PST 2012


commit b5c0b8b2961e85db9aa2fa2c2cd1a77d91a692e5
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/b5c0b8b2961e85db9aa2fa2c2cd1a77d91a692e5


-- 
DragonFly BSD source repository





More information about the Commits mailing list