e07f0b9362
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. |
||
---|---|---|
.. | ||
asc_tc.c | ||
asc_tcds.c | ||
ascvar.h | ||
bba.c | ||
cfb.c | ||
devlist2h.awk | ||
files.tc | ||
if_fta.c | ||
if_le_ioasic.c | ||
if_le_tc.c | ||
if_levar.h | ||
ioasic_subr.c | ||
ioasicreg.h | ||
ioasicvar.h | ||
Makefile | ||
Makefile.tcdevs | ||
mfb.c | ||
nvrreg.h | ||
px.c | ||
pxg.c | ||
pxgvar.h | ||
sfb.c | ||
sfbplus.c | ||
sfbreg.h | ||
stic.c | ||
sticio.h | ||
sticreg.h | ||
sticvar.h | ||
tc.c | ||
tcdevs | ||
tcdevs_data.h | ||
tcdevs.h | ||
tcds.c | ||
tcdsreg.h | ||
tcdsvar.h | ||
tcreg.h | ||
tcvar.h | ||
tfb.c | ||
xcfb.c | ||
zs_ioasic.c | ||
zs_ioasicvar.h | ||
zskbd.c | ||
zsms.c |