Messages in this thread | | | Date | Fri, 4 Feb 2011 08:49:39 +0900 | From | KAMEZAWA Hiroyuki <> | Subject | Re: [patch] memcg: remove impossible conditional when committing |
| |
On Thu, 3 Feb 2011 15:11:10 +0100 Johannes Weiner <hannes@cmpxchg.org> wrote:
> No callsite ever passes a NULL pointer for a struct mem_cgroup * to > the committing function. There is no need to check for it. > > Signed-off-by: Johannes Weiner <hannes@cmpxchg.org>
Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
But, could you add VM_BUG_ON(!mem) here ?
Thanks, -Kame
| |