Re: [PATCH V10 5/6] mm: cleancache: update to match akpm frontswap feedback

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 15 Sep 2011 14:34:46 -0700
Dan Magenheimer <dan.magenheimer@xxxxxxxxxx> wrote:

> From: Dan Magenheimer <dan.magenheimer@xxxxxxxxxx>
> 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, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx.  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@xxxxxxxxx";> email@xxxxxxxxx </a>


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]