From: Dan Magenheimer <dan.magenheimer@oracle.com>
To: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org,
jeremy@goop.org, hughd@google.com, ngupta@vflare.org,
Konrad Wilk <konrad.wilk@oracle.com>,
JBeulich@novell.com, Kurt Hackel <kurt.hackel@oracle.com>,
npiggin@kernel.dk, akpm@linux-foundation.org, riel@redhat.com,
hannes@cmpxchg.org, matthew@wil.cx,
Chris Mason <chris.mason@oracle.com>,
sjenning@linux.vnet.ibm.com, jackdachef@gmail.com,
cyclonusj@gmail.com, levinsasha928@gmail.com
Subject: RE: [PATCH V10 5/6] mm: cleancache: update to match akpm frontswap feedback
Date: Wed, 28 Sep 2011 07:03:52 -0700 (PDT) [thread overview]
Message-ID: <1a2c1697-9ed6-4cb8-8da9-d252045b8a75@default> (raw)
In-Reply-To: <20110928150841.fbe661fe.kamezawa.hiroyu@jp.fujitsu.com>
> From: KAMEZAWA Hiroyuki [mailto:kamezawa.hiroyu@jp.fujitsu.com]
> Subject: Re: [PATCH V10 5/6] mm: cleancache: update to match akpm frontswap feedback
>
> On Thu, 15 Sep 2011 14:34:46 -0700
> Dan Magenheimer <dan.magenheimer@oracle.com> wrote:
>
> > From: Dan Magenheimer <dan.magenheimer@oracle.com>
> > Subject: [PATCH V10 5/6] mm: cleancache: update to match akpm frontswap feedback
> err = sysfs_create_group(mm_kobj, &cleancache_attr_group);
> > -#endif /* CONFIG_SYSFS */
> > +#ifdef CONFIG_DEBUG_FS
> > + struct dentry *root = debugfs_create_dir("cleancache", NULL);
> > + if (root == NULL)
> > + return -ENXIO;
> > + debugfs_create_u64("succ_gets", S_IRUGO, root, &cleancache_succ_gets);
> > + debugfs_create_u64("failed_gets", S_IRUGO,
> > + root, &cleancache_failed_gets);
> > + debugfs_create_u64("puts", S_IRUGO, root, &cleancache_puts);
> > + debugfs_create_u64("invalidates", S_IRUGO,
> > + root, &cleancache_invalidates);
> > +#endif
Hi Kame --
Thanks for the review!
> No exisiting userlands are affected by this change of flush->invalidates ?
Not that I'm aware of. As required by Andrew Morton, the frontswap
patchset now exposes ALL statistics through debugfs instead of sysfs.
For consistency, all cleancache statistics are also moved from sysfs
into debugfs, so this is a good time to also do the name change.
(The name change was also required by Andrew Morton, and previously
suggested by Minchan Kim.)
Thanks,
Dan
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
prev parent reply other threads:[~2011-09-28 14:04 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-15 21:34 [PATCH V10 5/6] mm: cleancache: update to match akpm frontswap feedback Dan Magenheimer
2011-09-21 15:02 ` konrad.wilk
2011-09-21 19:13 ` Dan Magenheimer
2011-09-28 6:08 ` KAMEZAWA Hiroyuki
2011-09-28 14:03 ` Dan Magenheimer [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=1a2c1697-9ed6-4cb8-8da9-d252045b8a75@default \
--to=dan.magenheimer@oracle.com \
--cc=JBeulich@novell.com \
--cc=akpm@linux-foundation.org \
--cc=chris.mason@oracle.com \
--cc=cyclonusj@gmail.com \
--cc=hannes@cmpxchg.org \
--cc=hughd@google.com \
--cc=jackdachef@gmail.com \
--cc=jeremy@goop.org \
--cc=kamezawa.hiroyu@jp.fujitsu.com \
--cc=konrad.wilk@oracle.com \
--cc=kurt.hackel@oracle.com \
--cc=levinsasha928@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=matthew@wil.cx \
--cc=ngupta@vflare.org \
--cc=npiggin@kernel.dk \
--cc=riel@redhat.com \
--cc=sjenning@linux.vnet.ibm.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;
as well as URLs for NNTP newsgroup(s).