aboutsummaryrefslogtreecommitdiff
path: root/include/linux/stacktrace.h
diff options
context:
space:
mode:
authorVernon Mauery <[email protected]>2006-07-01 04:35:42 -0700
committerLinus Torvalds <[email protected]>2006-07-01 09:55:57 -0700
commita99e4e413e1ab9f3c567b5519f5557afd786dc62 (patch)
tree31998183648206018452ae0c3c46aaa19724bd74 /include/linux/stacktrace.h
parent9262e9149f346a5443300f8c451b8e7631e81a42 (diff)
[PATCH] pi-futex: fix mm_struct memory leak
lock_queue was getting called essentially twice in a row and was continually incrementing the mm_count ref count, thus causing a memory leak. Dinakar Guniguntala provided a proper fix for the problem that simply grabs the spinlock for the hash bucket queue rather than calling lock_queue. The second time we do a queue_lock in futex_lock_pi, we really only need to take the hash bucket lock. Signed-off-by: Dinakar Guniguntala <[email protected]> Signed-off-by: Vernon Mauery <[email protected]> Acked-by: Paul E. McKenney <[email protected]> Signed-off-by: Ingo Molnar <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/stacktrace.h')
0 files changed, 0 insertions, 0 deletions