Re: [PATCH] mm/memcg: add BUG() to mem_cgroup_reset

From: Johannes Weiner
Date: Fri Jul 06 2012 - 04:22:50 EST


On Fri, Jul 06, 2012 at 11:44:57AM +0800, Wanpeng Li wrote:
> From: Wanpeng Li <liwp@xxxxxxxxxxxxxxxxxx>
>
> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/