[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20180129191323.GB1121507@devbig577.frc2.facebook.com>
Date: Mon, 29 Jan 2018 11:13:23 -0800
From: Tejun Heo <tj@...nel.org>
To: Cong Wang <xiyou.wangcong@...il.com>
Cc: linux-kernel@...r.kernel.org,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Subject: Re: [PATCH] kernfs: account kernfs_node_cache as reclaimable
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 can be
> freed by kernfs_evict_inode() via /proc/sys/vm/drop_caches easily.
That evicts the inode, not the kernfs_node. kernfs_node is the
backing storage for these filesystems. They aren't reclaimable.
Thanks.
--
tejun
Powered by blists - more mailing lists