vhost: copy_from_user -> __copy_from_user
authorMichael S. Tsirkin <mst@redhat.com>
Sun, 6 Mar 2011 11:33:49 +0000 (13:33 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 8 Mar 2011 16:03:05 +0000 (18:03 +0200)
copy_from_user is pretty high on perf top profile,
replacing it with __copy_from_user helps.
It's also safe because we do access_ok checks during setup.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>

No differences found