lkml.org 
[lkml]   [2008]   [Sep]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC] [PATCH 3/9] memcg: move_account between groups
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



\
 
 \ /
  Last update: 2008-09-12 06:37    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site