git: tmpfs: Convert tmpfs node allocation zone into a per-mount pool.
Venkatesh Srinivas
vsrinivas at crater.dragonflybsd.org
Tue Aug 24 20:05:40 PDT 2010
commit dcaa8a41662f2b0cf579a6e912564c9fc8275ac1
Author: Venkatesh Srinivas <me at 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
More information about the Commits
mailing list