NetBSD/sys/uvm
atatat a57bcda26a Rework the way in which the map is traversed when dumping core. Now
we read-lock the map and call uvm_map_lookup_entry() instead of simply
walking from the header to the next and to the next, etc.

Dumping from sparsely populated amaps could cause faults that would
result in amaps being split, which (in turn) resulted in the core
dumping routines dumping some regions of memory twice.  This makes the
core file too large, the headers not match, gdb not work properly,
and so on.

Addresses PR 19260.
2003-02-14 16:25:12 +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.h Reorder things so that with multiple inclusion protection that optional 2002-12-01 22:58:43 +00:00
uvm_amap.c Add extensible malloc types, adapted from FreeBSD. This turns 2003-02-01 06:23:35 +00:00
uvm_amap.h Add extensible malloc types, adapted from FreeBSD. This turns 2003-02-01 06:23:35 +00:00
uvm_amap_i.h Properly set page references counts at the start of the newly 2002-12-20 18:21:13 +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 replace {simple_,}lock{_data,}_t with struct {simple,}lock {,*}. 2001-05-26 16:32:40 +00:00
uvm_aobj.c uao_put: release uvm object's lock only after we're done with its page list. 2003-02-09 22:28:40 +00:00
uvm_aobj.h a whole bunch of changes to improve performance and robustness under load: 2001-09-15 20:36:31 +00:00
uvm_bio.c remove trailing \n in panic(). approved perry. 2002-09-27 15:35:29 +00:00
uvm_ddb.h replace vm_map{,_entry}_t with struct vm_map{,_entry} *. 2001-06-02 18:09:08 +00:00
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 Add extensible malloc types, adapted from FreeBSD. This turns 2003-02-01 06:23:35 +00:00
uvm_fault.c uvm_fault: case 1B: lock page queue before calling uvm_pageactivate(). 2003-02-09 22:32:21 +00:00
uvm_fault.h introduce a new UVM fault type, VM_FAULT_WIREMAX. this is different 2001-12-31 22:34:39 +00:00
uvm_fault_i.h /*CONSTCOND*/ 2002-11-02 07:38:42 +00:00
uvm_glue.c Rework the way in which the map is traversed when dumping core. Now 2003-02-14 16:25:12 +00:00
uvm_glue.h
uvm_init.c add RCSIDs, and in some cases, slightly cleanup #include order 2001-11-10 07:36:59 +00:00
uvm_io.c add RCSIDs, and in some cases, slightly cleanup #include order 2001-11-10 07:36:59 +00:00
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 a whole bunch of changes to improve performance and robustness under load: 2001-09-15 20:36:31 +00:00
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 several changes prompted by loaning problems: 2001-11-06 08:07:49 +00:00
uvm_map.c Add extensible malloc types, adapted from FreeBSD. This turns 2003-02-01 06:23:35 +00:00
uvm_map.h /*CONTCOND*/ while (0)'ed macros 2002-11-02 07:40:47 +00:00
uvm_map_i.h Reorder things so that with multiple inclusion protection that optional 2002-12-01 22:58:43 +00:00
uvm_meter.c Merge the nathanw_sa branch. 2003-01-18 08:51:40 +00:00
uvm_mmap.c Merge the nathanw_sa branch. 2003-01-18 08:51:40 +00:00
uvm_object.h count aobj pages (most notably kernel stack pages) as anon pages 2002-06-20 15:05:29 +00:00
uvm_page.c Add extensible malloc types, adapted from FreeBSD. This turns 2003-02-01 06:23:35 +00:00
uvm_page.h s/than than/than/. 2002-11-08 02:05:16 +00:00
uvm_page_i.h Reorder things so that with multiple inclusion protection that optional 2002-12-01 22:58:43 +00:00
uvm_pager.c Fix signed/unsigned comparison warnings. 2002-11-09 20:06:07 +00:00
uvm_pager.h remove PGO_WEAK, it isn't needed anymore. 2002-03-25 02:08:09 +00:00
uvm_pager_i.h Reorder things so that with multiple inclusion protection that optional 2002-12-01 22:58:43 +00:00
uvm_param.h add {anon,file,exec}max as a upper bound on the amount of memory that 2001-12-09 03:07:19 +00:00
uvm_pdaemon.c Quell uninitialised variable warnings. 2002-11-24 11:50:32 +00:00
uvm_pdaemon.h remove trailing whitespace. 2001-05-25 04:06:11 +00:00
uvm_pglist.c /*CONTCOND*/ while (0)'ed macros 2002-11-02 07:40:47 +00:00
uvm_pglist.h use the correct symbol for multi-include protection. 2001-08-25 20:37:46 +00:00
uvm_pmap.h Merge the nathanw_sa branch. 2003-01-18 08:51:40 +00:00
uvm_prot.h remove trailing whitespace. 2001-05-25 04:06:11 +00:00
uvm_stat.c add {anon,file,exec}max as a upper bound on the amount of memory that 2001-12-09 03:07:19 +00:00
uvm_stat.h Include CPU number in UVM history logs. 2003-02-09 22:33:18 +00:00
uvm_swap.c Make the buffer cache code MP-safe. 2003-02-05 21:38:38 +00:00
uvm_swap.h Move swapctl(SWAP_STATS) implementation to a separate function called 2002-03-18 11:43:01 +00:00
uvm_unix.c Merge the nathanw_sa branch. 2003-01-18 08:51:40 +00:00
uvm_user.c add RCSIDs, and in some cases, slightly cleanup #include order 2001-11-10 07:36:59 +00:00
uvm_vnode.c Merge the gehenna-devsw branch into the trunk. 2002-09-06 13:18:43 +00:00