linux/arch/um/kernel/skas
Anton Ivanov 747b254ca2 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>
2018-12-27 22:48:20 +01:00
..
clone.c um: Switch clocksource to hrtimers 2015-11-06 22:54:49 +01:00
Makefile uml: style fixes pass 3 2007-10-16 09:43:05 -07:00
mmu.c sched/headers: Prepare for new header dependencies before moving code to <linux/sched/signal.h> 2017-03-02 08:42:29 +01:00
process.c sched/headers: Prepare to move 'init_task' and 'init_thread_union' from <linux/sched.h> to <linux/sched/task.h> 2017-03-02 08:42:38 +01:00
syscall.c um/ptrace: Fix the syscall number update after a ptrace 2016-09-07 09:25:04 -07:00
uaccess.c um: Remove unnecessary faulted check in uaccess.c 2018-12-27 22:48:20 +01:00