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. |
||
---|---|---|
.. | ||
Makefile | ||
bicons.c | ||
bicons.h | ||
biconsdev.c | ||
biconsvar.h | ||
bifont.c | ||
bivideo.c | ||
bivideovar.h | ||
btnmgr.c | ||
button.c | ||
files.bicons | ||
files.hpcfb | ||
files.hpcio | ||
files.hpckbd | ||
files.hpctp | ||
fontconv.c | ||
hpcbatterytable.h | ||
hpcbatteryvar.h | ||
hpccmap.c | ||
hpccmap_gen.c | ||
hpccmapvar.h | ||
hpcfb.c | ||
hpcfbio.h | ||
hpcfbvar.h | ||
hpcin.c | ||
hpcioman.c | ||
hpciomanvar.h | ||
hpciovar.h | ||
hpckbd.c | ||
hpckbdkeymap.h | ||
hpckbdvar.h | ||
hpcout.c | ||
mra.c | ||
pckbd_encode.c | ||
pckbd_encode.h | ||
pwctl.c | ||
tpcalib.c | ||
tpcalibvar.h | ||
video_subr.c | ||
video_subr.h | ||
vt220l8x10.h |