-
由 Peter Zijlstra 提交于
Catalin noticed that (38d47c1b: 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: NCatalin Marinas <catalin.marinas@arm.com> Signed-off-by: NPeter Zijlstra <a.p.zijlstra@chello.nl> Tested-by: N"Pallipadi, Venkatesh" <venkatesh.pallipadi@intel.com> Tested-by: NCatalin Marinas <catalin.marinas@arm.com> Signed-off-by: NIngo Molnar <mingo@elte.hu>
2fff78c7