Re: [BUGFIX][PATCH] memcg: fix thresholds with use_hierarchy == 1

From: Daisuke Nishimura
Date: Wed Sep 29 2010 - 10:52:15 EST


> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/