futex: use fast_gup()
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Fri, 26 Sep 2008 17:32:22 +0000 (19:32 +0200)
committerIngo Molnar <mingo@elte.hu>
Tue, 30 Sep 2008 10:35:46 +0000 (12:35 +0200)
commit734b05b10e51d4ba38c8fc3ee02e846aab09eedf
treef9d98cdeb64e2077a77fb8f65b4ab7e331b6fca9
parent61270708ecf1cda148e84fbf6e0703ee5aa81814
futex: use fast_gup()

Change the get_user_pages() call with fast_gup() which doesn't require holding
the mmap_sem thereby removing the mmap_sem from all fast 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