diff options
author | Peter Zijlstra <peterz@infradead.org> | 2009-02-11 18:10:10 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-02-11 18:24:08 +0100 |
commit | 2fff78c784ed97a8e5aa225ef5228f0a6d862d82 (patch) | |
tree | 2adfba52dbd8e410909a538b7c27189932acc995 /kernel/relay.c | |
parent | 6c6f1f0f4db31a192916eaa31ec2f114fda7d5e5 (diff) |
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 <catalin.marinas@arm.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Tested-by: "Pallipadi, Venkatesh" <venkatesh.pallipadi@intel.com>
Tested-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/relay.c')
0 files changed, 0 insertions, 0 deletions