NetBSD/sys/uvm
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
..
Makefile
uvm_amap_i.h
uvm_amap.c
uvm_amap.h
uvm_anon.c When retiring a swap device with marked bad blocks on it we should update 2003-08-28 13:12:17 +00:00
uvm_anon.h
uvm_aobj.c Fix a reversed logic in swap deallocation which could lead to 2003-09-18 13:48:05 +00:00
uvm_aobj.h
uvm_bio.c fix ubc pager to take care of loan_count. 2003-05-03 18:05:16 +00:00
uvm_ddb.h
uvm_device.c
uvm_device.h
uvm_extern.h eliminate uvm_useracc() in favor of checking the return value of 2003-11-13 03:09:28 +00:00
uvm_fault_i.h
uvm_fault.c Make sure to call uvm_swap_free() and uvm_swap_markbad() with valid (i.e. 2003-08-11 16:44:35 +00:00
uvm_fault.h
uvm_glue.c eliminate uvm_useracc() in favor of checking the return value of 2003-11-13 03:09:28 +00:00
uvm_glue.h
uvm_init.c update comment - kmem_map is created in kmeminit(), not uvm_km_init() 2003-10-26 08:05:00 +00:00
uvm_io.c
uvm_km.c When retiring a swap device with marked bad blocks on it we should update 2003-08-28 13:12:17 +00:00
uvm_km.h Back out the following chagne: 2003-05-10 21:10:23 +00:00
uvm_loan.c uvm_loanzero: 2003-10-27 12:47:33 +00:00
uvm_loan.h
uvm_map_i.h track map entries and free spaces using red-black tree 2003-11-01 11:09:02 +00:00
uvm_map.c two changes in improve scalability: 2003-11-13 02:44:01 +00:00
uvm_map.h track map entries and free spaces using red-black tree 2003-11-01 11:09:02 +00:00
uvm_meter.c Back out the lwp/ktrace changes. They contained a lot of colateral damage, 2003-06-29 22:28:00 +00:00
uvm_mmap.c Add a MAP_WIRED flag to mmap(2), which causes the new mapping to be 2003-10-07 00:17:09 +00:00
uvm_object.h
uvm_page_i.h
uvm_page.c add a missing pmap_update(). 2003-11-05 15:45:54 +00:00
uvm_page.h In vm_phsyseg_find, use u_int for start, len and try when doing a 2003-11-10 16:13:05 +00:00
uvm_pager_i.h
uvm_pager.c Can't rely on side-effects in KASSERT expressions which was pointed out to 2003-09-01 14:20:57 +00:00
uvm_pager.h Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
uvm_param.h Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
uvm_pdaemon.c don't dereference a vm_page pointer after we free the page. 2003-09-26 04:03:39 +00:00
uvm_pdaemon.h
uvm_pglist.c add a DEBUG check if freed PG_ZERO pages are really zero-filled. 2003-11-03 03:58:28 +00:00
uvm_pglist.h
uvm_pmap.h Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
uvm_prot.h Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
uvm_stat.c
uvm_stat.h
uvm_swap.c When retiring a swap device with marked bad blocks on it we should update 2003-08-28 13:12:17 +00:00
uvm_swap.h Introduce uvm_swapisfull(), which computes the available swap space by 2003-08-11 16:33:30 +00:00
uvm_unix.c add support for non-executable mappings (where the hardware allows this) 2003-08-24 17:52:28 +00:00
uvm_user.c
uvm_vnode.c Back out the lwp/ktrace changes. They contained a lot of colateral damage, 2003-06-29 22:28:00 +00:00
uvm.h