vhost: copy_from_user -> __copy_from_user
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>
Showing
Please register or sign in to comment