Re: [RFC] [PATCH 3/9] memcg: move_account between groups
From: KAMEZAWA Hiroyuki
Date: Fri Sep 12 2008 - 00:34:18 EST
On Thu, 11 Sep 2008 20:14:51 +0900
KAMEZAWA Hiroyuki <kamezawa.hiroyu@xxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/