From: YAMAMOTO Takashi Date: Fri, 28 Mar 2008 21:15:50 +0000 (-0700) Subject: memcgroup: fix spurious EBUSY on memory cgroup removal X-Git-Tag: v2.6.25-rc8~61 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1d4a788f15302877ff2cb08f22009e290a36a209;p=pandora-kernel.git memcgroup: fix spurious EBUSY on memory cgroup removal Call mm_free_cgroup earlier. Otherwise a reference due to lazy mm switching can prevent cgroup removal. Signed-off-by: YAMAMOTO Takashi Acked-by: Balbir Singh Cc: KAMEZAWA Hiroyuki Cc: Paul Menage Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed