[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20080912133601.1d3d82a6.kamezawa.hiroyu@jp.fujitsu.com>
Date: Fri, 12 Sep 2008 13:36:01 +0900
From: KAMEZAWA Hiroyuki <kamezawa.hiroyu@...fujitsu.com>
To: KAMEZAWA Hiroyuki <kamezawa.hiroyu@...fujitsu.com>
Cc: balbir@...ux.vnet.ibm.com, "xemul@...nvz.org" <xemul@...nvz.org>,
"hugh@...itas.com" <hugh@...itas.com>, linux-mm@...ck.org,
linux-kernel@...r.kernel.org, menage@...gle.com
Subject: Re: [RFC] [PATCH 3/9] memcg: move_account between groups
On Thu, 11 Sep 2008 20:14:51 +0900
KAMEZAWA Hiroyuki <kamezawa.hiroyu@...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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists