Re: [PATCH] rename MEM_CGROUP_STAT_SWAPOUT as MEM_CGROUP_STAT_NR_SWAP
From: Johannes Weiner <hidden>
Date: 2012-06-01 16:53:35
Also in:
linux-mm
From: Johannes Weiner <hidden>
Date: 2012-06-01 16:53:35
Also in:
linux-mm
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 <redacted>
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.