NetBSD/sys/uvm
bouyer d986226518 Change uvm_km_kmemalloc() to accept flag UVM_KMF_NOWAIT and pass it to
uvm_map(). Change uvm_map() to honnor UVM_KMF_NOWAIT. For this, change
amap_extend() to take a flags parameter instead of just boolean for
direction, and introduce AMAP_EXTEND_FORWARDS and AMAP_EXTEND_NOWAIT flags
(AMAP_EXTEND_BACKWARDS is still defined as 0x0, to keep the code easier to
read).
Add a flag parameter to uvm_mapent_alloc().
This solves a problem a pool_get(PR_NOWAIT) could trigger a pool_get(PR_WAITOK)
in uvm_mapent_alloc().
Thanks to Chuck Silvers, enami tsugutomo, Andrew Brown and Jason R Thorpe
for feedback.
2002-11-30 18:28:04 +00:00
..
Makefile Remove KDIR=, since SYS_INCLUDE=symlinks and KDIR are not supported any more. 2002-11-26 23:30:07 +00:00
uvm_amap_i.h In amap_ref, only increment the amap's refcnt after we have established 2002-08-22 23:39:37 +00:00
uvm_amap.c Change uvm_km_kmemalloc() to accept flag UVM_KMF_NOWAIT and pass it to 2002-11-30 18:28:04 +00:00
uvm_amap.h Change uvm_km_kmemalloc() to accept flag UVM_KMF_NOWAIT and pass it to 2002-11-30 18:28:04 +00:00
uvm_anon.c add missing anon lock around call to uvm_anon_lockloanpg(). 2002-09-21 06:16:07 +00:00
uvm_anon.h
uvm_aobj.c Quell uninitialised variable warnings. 2002-11-24 11:50:32 +00:00
uvm_aobj.h
uvm_bio.c remove trailing \n in panic(). approved perry. 2002-09-27 15:35:29 +00:00
uvm_ddb.h
uvm_device.c Merge the gehenna-devsw branch into the trunk. 2002-09-06 13:18:43 +00:00
uvm_device.h
uvm_extern.h change uvm_uarea_alloc() to indicate whether the returned uarea is already 2002-11-17 08:32:43 +00:00
uvm_fault_i.h /*CONSTCOND*/ 2002-11-02 07:38:42 +00:00
uvm_fault.c change "uoff" to voff_t from vaddr_t as it's offset within uvm object. 2002-10-30 05:24:33 +00:00
uvm_fault.h
uvm_glue.c change uvm_uarea_alloc() to indicate whether the returned uarea is already 2002-11-17 08:32:43 +00:00
uvm_glue.h
uvm_init.c
uvm_io.c
uvm_km.c Change uvm_km_kmemalloc() to accept flag UVM_KMF_NOWAIT and pass it to 2002-11-30 18:28:04 +00:00
uvm_km.h
uvm_loan.c when dropping a kernel loan, if this was the last loan-to-kernel but 2002-07-14 23:53:41 +00:00
uvm_loan.h
uvm_map_i.h add a new flag VM_MAP_DYING, which is set before we start 2002-09-22 07:21:29 +00:00
uvm_map.c Change uvm_km_kmemalloc() to accept flag UVM_KMF_NOWAIT and pass it to 2002-11-30 18:28:04 +00:00
uvm_map.h /*CONTCOND*/ while (0)'ed macros 2002-11-02 07:40:47 +00:00
uvm_meter.c
uvm_mmap.c #if 0 the call to uvm_map_checkprot() in sys_munmap() -- it's not documented, 2002-09-27 19:13:29 +00:00
uvm_object.h
uvm_page_i.h
uvm_page.c Fix signed/unsigned comparison warnings. 2002-11-09 20:06:07 +00:00
uvm_page.h s/than than/than/. 2002-11-08 02:05:16 +00:00
uvm_pager_i.h
uvm_pager.c Fix signed/unsigned comparison warnings. 2002-11-09 20:06:07 +00:00
uvm_pager.h
uvm_param.h
uvm_pdaemon.c Quell uninitialised variable warnings. 2002-11-24 11:50:32 +00:00
uvm_pdaemon.h
uvm_pglist.c /*CONTCOND*/ while (0)'ed macros 2002-11-02 07:40:47 +00:00
uvm_pglist.h
uvm_pmap.h add pmap_remove_all() hook (empty on most platforms so far). 2002-09-22 07:17:08 +00:00
uvm_prot.h
uvm_stat.c
uvm_stat.h /*CONTCOND*/ while (0)'ed macros 2002-11-02 07:40:47 +00:00
uvm_swap.c /*CONTCOND*/ while (0)'ed macros 2002-11-02 07:40:47 +00:00
uvm_swap.h
uvm_unix.c
uvm_user.c
uvm_vnode.c Merge the gehenna-devsw branch into the trunk. 2002-09-06 13:18:43 +00:00
uvm.h gah. reversed a test. 2002-11-02 16:50:18 +00:00