Re: [RFC][PATCH 1/3] memcg: add methods to access pc->mem_cgroup
From: Glauber Costa <hidden>
Date: 2012-03-19 12:31:27
Also in:
linux-mm
From: Glauber Costa <hidden>
Date: 2012-03-19 12:31:27
Also in:
linux-mm
On 03/19/2012 04:11 PM, KAMEZAWA Hiroyuki wrote:
(2012/03/19 19:58), Glauber Costa wrote:quoted
On 03/19/2012 11:59 AM, KAMEZAWA Hiroyuki wrote:quoted
In order to encode pc->mem_cgroup and pc->flags to be in a word, access function to pc->mem_cgroup is required. This patch replaces access to pc->mem_cgroup with pc_to_mem_cgroup(pc) : pc->mem_cgroup pc_set_mem_cgroup(pc, memcg) : pc->mem_cgroup = memcg Following patch will remove pc->mem_cgroup. Signed-off-by: KAMEZAWA Hiroyuki<redacted>Kame, I can't see a reason not to merge this patch right now, regardless of the other ones.Ok, if names of functions seems good, I'll post again.
Acked-by: Glauber Costa <redacted> just in case -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. 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@kvack.org"> email@kvack.org </a>