[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20110928150841.fbe661fe.kamezawa.hiroyu@jp.fujitsu.com>
Date: Wed, 28 Sep 2011 15:08:41 +0900
From: KAMEZAWA Hiroyuki <kamezawa.hiroyu@...fujitsu.com>
To: Dan Magenheimer <dan.magenheimer@...cle.com>
Cc: linux-kernel@...r.kernel.org, linux-mm@...ck.org, jeremy@...p.org,
hughd@...gle.com, ngupta@...are.org, konrad.wilk@...cle.com,
JBeulich@...ell.com, kurt.hackel@...cle.com, npiggin@...nel.dk,
akpm@...ux-foundation.org, riel@...hat.com, hannes@...xchg.org,
matthew@....cx, chris.mason@...cle.com,
sjenning@...ux.vnet.ibm.com, jackdachef@...il.com,
cyclonusj@...il.com, levinsasha928@...il.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@...cle.com> wrote:
> From: Dan Magenheimer <dan.magenheimer@...cle.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
No exisiting userlands are affected by this change of flush->invalidates ?
Thanks,
-Kame
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists