[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120706082242.GA1230@cmpxchg.org>
Date: Fri, 6 Jul 2012 10:22:42 +0200
From: Johannes Weiner <hannes@...xchg.org>
To: Wanpeng Li <liwp.linux@...il.com>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
Michal Hocko <mhocko@...e.cz>,
KAMEZAWA Hiroyuki <kamezawa.hiroyu@...fujitsu.com>,
cgroups@...r.kernel.org, linux-mm@...ck.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] mm/memcg: add BUG() to mem_cgroup_reset
On Fri, Jul 06, 2012 at 11:44:57AM +0800, Wanpeng Li wrote:
> From: Wanpeng Li <liwp@...ux.vnet.ibm.com>
>
> Branch in mem_cgroup_reset only can be RES_MAX_USAGE, RES_FAILCNT.
And nobody is passing anything else. Which is easy to prove as this
is a private function. And there wouldn't even be any harm passing
something else. Please don't add stuff like this.
--
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