]> git.karo-electronics.de Git - linux-beck.git/commit
vmw_vmci: Convert driver to use get_user_pages_fast()
authorJan Kara <jack@suse.cz>
Wed, 2 Oct 2013 14:27:47 +0000 (16:27 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 6 Oct 2013 01:04:55 +0000 (18:04 -0700)
commit240ddd495a9e72073d11b1b7c2ec9ea14e7015cb
tree68f1fe2c753dcfca69748bd7226da531654034ac
parentaf190494f9b2e1fb6e1c039e9626c3c334717da1
vmw_vmci: Convert driver to use get_user_pages_fast()

Convert vmci_host_setup_notify() and qp_host_get_user_memory() to use
get_user_pages_fast() instead of get_user_pages(). Note that
qp_host_get_user_memory() was using mmap_sem for writing without an
apparent reason.

CC: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/vmw_vmci/vmci_host.c
drivers/misc/vmw_vmci/vmci_queue_pair.c