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 from this list: send the line "unsubscribe cgroups" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html