DragonFly BSD
DragonFly commits List (threaded) for 2012-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 31 Jan 2012 20:57:53 -0800 (PST)

commit fc1a91183f6ae691baf43624cf560082e8b2b6e3
Author: Matthew Dillon <dillon@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]