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

git: tmpfs: Convert tmpfs node allocation zone into a per-mount pool.


From: Venkatesh Srinivas <vsrinivas@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 24 Aug 2010 20:04:20 -0700 (PDT)

commit dcaa8a41662f2b0cf579a6e912564c9fc8275ac1
Author: Venkatesh Srinivas <me@endeavour.zapto.org>
Date:   Tue Aug 24 18:37:54 2010 -0700

    tmpfs: Convert tmpfs node allocation zone into a per-mount pool.
    
    Each tmpfs mount tracked the number and max nodes separately, leading to an
    inaccurate measure of the limit of the tmpfs node malloc zone. We now create
    a kmalloc zone for each mount, as in HAMMER (hammer_vfsops.c).

Summary of changes:
 sys/vfs/tmpfs/tmpfs.h        |    4 ++++
 sys/vfs/tmpfs/tmpfs_vfsops.c |   14 +++++++++-----
 2 files changed, 13 insertions(+), 5 deletions(-)

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


-- 
DragonFly BSD source repository



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