From: Peter Zijlstra Date: Wed, 11 Feb 2009 17:10:10 +0000 (+0100) Subject: futex: fix reference leak X-Git-Tag: v2.6.29-rc6~75^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2fff78c784ed97a8e5aa225ef5228f0a6d862d82;p=pandora-kernel.git futex: fix reference leak Catalin noticed that (38d47c1b7075: futex: rely on get_user_pages() for shared futexes) caused an mm_struct leak. Some tracing with the function graph tracer quickly pointed out that futex_wait() has exit paths with unbalanced reference counts. This regression was discovered by kmemleak. Reported-by: Catalin Marinas Signed-off-by: Peter Zijlstra Tested-by: "Pallipadi, Venkatesh" Tested-by: Catalin Marinas Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed