summaryrefslogtreecommitdiff
path: root/drivers/vhost/net.c
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2011-03-06 11:33:49 (GMT)
committerMichael S. Tsirkin <mst@redhat.com>2011-03-08 16:03:05 (GMT)
commitfcc042a2806064ffcaed7a0c5cb710eca0e99108 (patch)
tree74546d2639c7cb046b7bac0039f4d6f2a71efeda /drivers/vhost/net.c
parentd47effe1be0c4fc983306a9c704632e3a087eed8 (diff)
downloadlinux-fcc042a2806064ffcaed7a0c5cb710eca0e99108.tar.xz
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>
Diffstat (limited to 'drivers/vhost/net.c')
0 files changed, 0 insertions, 0 deletions