Re: [PATCH] kernfs: account kernfs_node_cache as reclaimable

2018-01-29 Thread Tejun Heo
On Fri, Jan 26, 2018 at 02:47:20PM -0800, Cong Wang wrote: > Similar to commit df206988e03e > ("fs: fuse: account fuse_inode slab memory as reclaimable"), these > kernfs nodes are currently included in the unreclaimable slab counts - > SUnreclaim in /proc/meminfo. And they are reclaimable too and c

[PATCH] kernfs: account kernfs_node_cache as reclaimable

2018-01-26 Thread Cong Wang
Similar to commit df206988e03e ("fs: fuse: account fuse_inode slab memory as reclaimable"), these kernfs nodes are currently included in the unreclaimable slab counts - SUnreclaim in /proc/meminfo. And they are reclaimable too and can be freed by kernfs_evict_inode() via /proc/sys/vm/drop_caches ea