diff options
author | Peter Zijlstra <[email protected]> | 2009-02-11 18:10:10 +0100 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2009-02-11 18:24:08 +0100 |
commit | 2fff78c784ed97a8e5aa225ef5228f0a6d862d82 (patch) | |
tree | 2adfba52dbd8e410909a538b7c27189932acc995 /lib/string_helpers.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 <[email protected]>
Signed-off-by: Peter Zijlstra <[email protected]>
Tested-by: "Pallipadi, Venkatesh" <[email protected]>
Tested-by: Catalin Marinas <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions