futex: rely on get_user_pages() for shared futexes
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Fri, 26 Sep 2008 17:32:20 +0000 (19:32 +0200)
committerIngo Molnar <mingo@elte.hu>
Tue, 30 Sep 2008 10:35:20 +0000 (12:35 +0200)
commit38d47c1b7075bd7ec3881141bb3629da58f88dab
tree44c6ddc753738e69c908706a6b0cad04a7b59f95
parent94aca1dac6f6d21f4b07e4864baf7768cabcc6e7
futex: rely on get_user_pages() for shared futexes

On the way of getting rid of the mmap_sem requirement for shared futexes,
start by relying on get_user_pages().

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>
include/linux/futex.h
kernel/futex.c