diff options
author | 2018-11-22 14:45:13 +0000 | |
---|---|---|
committer | 2018-12-27 22:48:20 +0100 | |
commit | 747b254ca2649d0c206385c7902fb8ac97a2b0b4 (patch) | |
tree | ec37d6dde343cf0e24f9f063adf41e5798c517e1 /tools/perf/scripts/python/stackcollapse.py | |
parent | um: Add support for DISCARD in the UBD Driver (diff) | |
download | wireguard-linux-747b254ca2649d0c206385c7902fb8ac97a2b0b4.tar.xz wireguard-linux-747b254ca2649d0c206385c7902fb8ac97a2b0b4.zip |
um: Remove unnecessary faulted check in uaccess.c
It is not necessary to check if a fault has occured or not
after disabling pagefaults. kmap_atomic does that in all
cases and we can disable it for 64 bit where kmap is not needed
and a simple page_address would suffice.
dd if=/dev/zero of=/dev/null bs=1M count=1M
Before: 3.1GB/s. After: 3.5GB/s
There is a noticeable difference for file disk read and write
as well as less noticeable difference for network IO.
Signed-off-by: Anton Ivanov <anton.ivanov@cambridgegreys.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions