From: Tejun Heo <tj@kernel.org>
To: Cong Wang <xiyou.wangcong@gmail.com>
Cc: linux-kernel@vger.kernel.org,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Subject: Re: [PATCH] kernfs: account kernfs_node_cache as reclaimable
Date: Mon, 29 Jan 2018 11:13:23 -0800 [thread overview]
Message-ID: <20180129191323.GB1121507@devbig577.frc2.facebook.com> (raw)
In-Reply-To: <20180126224720.7331-1-xiyou.wangcong@gmail.com>
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
prev parent reply other threads:[~2018-01-29 19:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-26 22:47 Cong Wang
2018-01-29 19:13 ` Tejun Heo [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180129191323.GB1121507@devbig577.frc2.facebook.com \
--to=tj@kernel.org \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=xiyou.wangcong@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome