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

看板DFBSD_commit作者時間15年前 (2010/08/25 11:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
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
文章代碼(AID): #1CT8wtzs (DFBSD_commit)