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
..
2018-12-10 09:06:22 -08:00
2018-10-31 15:39:25 -07:00
2018-12-03 10:49:11 +08:00
2018-10-31 08:54:16 -07:00
2018-11-26 18:30:40 -08:00
2018-12-20 07:35:16 -08:00
2018-11-30 18:41:06 -08:00
2018-10-31 08:54:16 -07:00
2018-12-14 09:33:34 -08:00
2018-12-21 11:15:36 -08:00
2018-11-01 11:46:27 -07:00