On Fri, 1 Jun 2012, Johannes Weiner wrote: > On Fri, Jun 01, 2012 at 07:39:00PM +0900, Kamezawa Hiroyuki wrote: > > MEM_CGROUP_STAT_SWAPOUT represents the usage of swap rather than > > the number of swap-out events. Rename it to be MEM_CGROUP_STAT_NR_SWAP. > > > > Signed-off-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@xxxxxxxxxxxxxx> > > Wouldn't MEM_CGROUP_STAT_SWAP be better? It's equally descriptive but > matches the string. And we also don't have NR_ for cache, rss, mapped > file etc. That's just what I thought too. You can attach Acked-by: Hugh Dickins <hughd@xxxxxxxxxx> to MEM_CGROUP_STAT_SWAP and MEM_CGROUP_CHARGE_TYPE_ANON. Oh, and to a patch deleting MEM_CGROUP_CHARGE_TYPE_FORCE! Hugh -- 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>