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

git: kernel - TMPFS - Stabilization pass, fix VM object leak, msync


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 19 Feb 2010 19:09:42 -0800 (PST)

commit f96f2f39b0082a3241919be617757c2235a6add0
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date:   Fri Feb 19 19:07:43 2010 -0800

    kernel - TMPFS - Stabilization pass, fix VM object leak, msync
    
    * The swap vm_object backing regular files was not being deallocated
      properly and leaked kernel memory.
    
    * Truncate deleted files a little earlier in the INACTIVE path.
    
    * Set MNTK_NOMSYNC.  This prevents msync(), sync(), and the
      periodic filesystem syncer from flushing pages to swap.
    
      VM pages related to tmpfs are only flushed based on memory
      pressure.

Summary of changes:
 sys/vfs/tmpfs/tmpfs_subr.c   |    2 +-
 sys/vfs/tmpfs/tmpfs_vfsops.c |    1 +
 sys/vfs/tmpfs/tmpfs_vnops.c  |    5 +++++
 3 files changed, 7 insertions(+), 1 deletions(-)

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


-- 
DragonFly BSD source repository



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