NetBSD/sys/arch/alpha
chs e07f0b9362 eliminate uvm_useracc() in favor of checking the return value of
copyin() or copyout().

uvm_useracc() tells us whether the mapping permissions allow access to
the desired part of an address space, and many callers assume that
this is the same as knowing whether an attempt to access that part of
the address space will succeed.  however, access to user space can
fail for reasons other than insufficient permission, most notably that
paging in any non-resident data can fail due to i/o errors.  most of
the callers of uvm_useracc() make the above incorrect assumption.  the
rest are all misguided optimizations, which optimize for the case
where an operation will fail.  we'd rather optimize for operations
succeeding, in which case we should just attempt the access and handle
failures due to insufficient permissions the same way we handle i/o
errors.  since there appear to be no good uses of uvm_useracc(), we'll
just remove it.
2003-11-13 03:09:28 +00:00
..
a12 add __KERNEL_RCSID() (using 1, for #included .c files) 2003-07-14 23:25:35 +00:00
alpha eliminate uvm_useracc() in favor of checking the return value of 2003-11-13 03:09:28 +00:00
common a .#included .c file needs __KERNEL_RCSID(1, ... 2003-07-15 02:13:13 +00:00
compile Rework how KERNOBJDIR functions; now it's always determined with 2003-01-06 17:40:18 +00:00
conf Use one 'atabus* at ata?' instead of multiple 'atabus* at FOOide? channel ?' 2003-10-18 08:30:12 +00:00
eisa SIMPLEQ rototill: 2002-06-01 23:50:52 +00:00
include Reduce code duplication by adding mi_userret() in sys/userret.h 2003-10-31 16:44:34 +00:00
isa add __KERNEL_RCSID() (using 1, for #included .c files) 2003-07-14 23:25:35 +00:00
jensenio Use aprint_normal() for cfprint routines. 2003-01-01 00:39:19 +00:00
mcbus Use aprint_normal() for cfprint routines. 2003-01-01 00:39:19 +00:00
pci Definition, not defintion. From miod@openbsd. 2003-09-26 22:25:21 +00:00
sableio Modify the fdcattach() interface again, splitting it into two parts, so that 2003-09-25 19:06:19 +00:00
stand Use ${HOST_SH} instead of `sh'. 2003-10-26 07:25:33 +00:00
tc Use aprint_normal() for cfprint routines. 2003-01-01 00:39:19 +00:00
tlsb Use aprint_normal() for cfprint routines. 2003-01-01 00:39:19 +00:00
Makefile Rework how KERNOBJDIR functions; now it's always determined with 2003-01-06 17:40:18 +00:00
STYLE Merge the gehenna-devsw branch into the trunk. 2002-09-06 13:18:43 +00:00