[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20100929230654.d7f20d2c.d-nishimura@mtf.biglobe.ne.jp>
Date: Wed, 29 Sep 2010 23:06:54 +0900
From: Daisuke Nishimura <d-nishimura@....biglobe.ne.jp>
To: "Kirill A. Shutsemov" <kirill@...temov.name>
Cc: linux-mm@...ck.org, Balbir Singh <balbir@...ux.vnet.ibm.com>,
Daisuke Nishimura <nishimura@....nes.nec.co.jp>,
KAMEZAWA Hiroyuki <kamezawa.hiroyu@...fujitsu.com>,
Andrew Morton <akpm@...ux-foundation.org>,
linux-kernel@...r.kernel.org
Subject: Re: [BUGFIX][PATCH] memcg: fix thresholds with use_hierarchy == 1
> I think you can simplify this part by using parent_mem_cgroup() like:
>
> parent = parent_mem_cgroup(memcg);
> if (!memcg)
^^^^^^^^ must be !parent of course :)
--
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