diff options
author | 2011-03-06 13:33:49 +0200 | |
---|---|---|
committer | 2011-03-08 18:03:05 +0200 | |
commit | fcc042a2806064ffcaed7a0c5cb710eca0e99108 (patch) | |
tree | 74546d2639c7cb046b7bac0039f4d6f2a71efeda /tools/perf/scripts/python | |
parent | vhost: Cleanup vhost.c and net.c (diff) | |
download | linux-dev-fcc042a2806064ffcaed7a0c5cb710eca0e99108.tar.xz linux-dev-fcc042a2806064ffcaed7a0c5cb710eca0e99108.zip |
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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions