]> granicus.if.org Git - zfs/commit
3.12 compat, NUMA-aware per-superblock shrinker
authorTim Chase <tim@chase2k.com>
Sun, 14 Jun 2015 16:19:40 +0000 (11:19 -0500)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 17 Jun 2015 17:43:13 +0000 (10:43 -0700)
commit90947b2357157a376fdd23dadbcfedad82652525
treec8a505d82d31e31772867c95b1b2b018b2b48594
parent410921241d00d9e6e48d6e544ab5fbf2f642a72d
3.12 compat, NUMA-aware per-superblock shrinker

Kernels >= 3.12 have a NUMA-aware superblock shrinker which is used in
ZoL by zfs_sb_prune().  This patch calls the shrinker for each on-line
NUMA node in order that memory be freed for each one.

Signed-off-by: Tim Chase <tim@chase2k.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #3495
config/kernel-shrink.m4
config/kernel.m4
module/zfs/zfs_vfsops.c