path: root/arch/powerpc/kernel/signal_32.c
diff options
authorPaul Mackerras <paulus@samba.org>2013-08-05 14:11:23 +1000
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2013-08-14 14:57:14 +1000
commit1f7bf028763cacf5a5674731e8f679c4718f2cfa (patch)
treede9250e864122d35d184dcb84d30f59f08631b1a /arch/powerpc/kernel/signal_32.c
parentcb96143defbd5516c351595d56b608ed915b525e (diff)
powerpc: Implement __get_user_pages_fast()
Other architectures have a __get_user_pages_fast(), in addition to the regular get_user_pages_fast(), which doesn't call get_user_pages() on failure, and thus doesn't attempt to fault pages in or COW them. The generic KVM code uses __get_user_pages_fast() to detect whether a page for which we have only requested read access is actually writable. This provides an implementation of __get_user_pages_fast() by splitting the existing get_user_pages_fast() in two. With this, the generic KVM code will get the right answer instead of always considering such pages non-writable. Signed-off-by: Paul Mackerras <paulus@samba.org> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/kernel/signal_32.c')
0 files changed, 0 insertions, 0 deletions