futex: reduce mmap_sem usage
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Fri, 26 Sep 2008 17:32:21 +0000 (19:32 +0200)
committerIngo Molnar <mingo@elte.hu>
Tue, 30 Sep 2008 10:35:36 +0000 (12:35 +0200)
commit61270708ecf1cda148e84fbf6e0703ee5aa81814
tree4c5bf27f99e5371da667e8c4105d2839e664409a
parent38d47c1b7075bd7ec3881141bb3629da58f88dab
futex: reduce mmap_sem usage

now that we rely on get_user_pages() for the shared key handling
move all the mmap_sem stuff closely around the slow paths.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Acked-by: Nick Piggin <nickpiggin@yahoo.com.au>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/futex.c