Re: [RFC] [PATCH 3/9] memcg: move_account between groups

KAMEZAWA Hiroyuki
2008-09-12T04:34:17Z

On Thu, 11 Sep 2008 20:14:51 +0900
KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> wrote:

> + if (try_lock_page_cgroup(page))
> + return ret;
Here is buggy and should be !try_lock_page_cgroup().
and uncharge should be called.

> +
> + if (page_get_page_cgroup(page) != pc)
> + goto out;
uncharge should be called.

Updated version will appear in the next week.

Thanks,
-Kame