tmpfs: Convert tmpfs node allocation zone into a per-mount pool.
authorVenkatesh Srinivas <me@endeavour.zapto.org>
Wed, 25 Aug 2010 01:37:54 +0000 (18:37 -0700)
committerVenkatesh Srinivas <me@endeavour.zapto.org>
Wed, 25 Aug 2010 01:37:54 +0000 (18:37 -0700)
commitdcaa8a41662f2b0cf579a6e912564c9fc8275ac1
treeefd31a4dd00ca9f193e5cdc69d38716ac1734dec
parenta8ca8ac67294ac211f6120be8ba4a061ec96dfec
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).
sys/vfs/tmpfs/tmpfs.h
sys/vfs/tmpfs/tmpfs_vfsops.c