Skip to content
Snippets Groups Projects
Commit fcc042a2 authored by Michael S. Tsirkin's avatar Michael S. Tsirkin
Browse files

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: default avatarMichael S. Tsirkin <mst@redhat.com>
parent d47effe1
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment