From: Kirill A. Shutemov Date: Thu, 7 Oct 2010 19:59:27 +0000 (-0700) Subject: memcg: fix thresholds with use_hierarchy == 1 X-Git-Tag: v2.6.36-rc8~37 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ad4ca5f4b70236dab5e457ff6567d36f75d2e7c5;p=pandora-kernel.git memcg: fix thresholds with use_hierarchy == 1 We need to check parent's thresholds if parent has use_hierarchy == 1 to be sure that parent's threshold events will be triggered even if parent itself is not active (no MEM_CGROUP_EVENTS). Signed-off-by: Kirill A. Shutemov Reviewed-by: Daisuke Nishimura Acked-by: KAMEZAWA Hiroyuki Acked-by: Balbir Singh Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed