NetBSD/sys/uvm
atatat 84a6247a30 Properly set page references counts at the start of the newly
allocated ppref data to zero in the case of an amap that has empty
space at the front.

Don't set anything in the ppref array if "len" is zero.

Many thanks to Sami Kantoluoto for providing gdb access to a machine
that would reliably crash with problems related to the above, and to
Stephan Thesing for corroborating that the patch properly addressed
the problem.

Note that the ar_pageoff (and related variables) types must be changed
soon.  The use of "int" here is not theoretically sufficient.
2002-12-20 18:21:13 +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 Properly set page references counts at the start of the newly 2002-12-20 18:21:13 +00:00
uvm_amap.h Properly set page references counts at the start of the newly 2002-12-20 18:21:13 +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
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 Define a UVM_FLAG_NOWAIT, which indicates that we're not allowed 2002-12-11 07:10:20 +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 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 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 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
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 UVM_KMF_NOWAIT -> UVM_FLAG_NOWAIT 2002-12-11 07:14:28 +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 add {anon,file,exec}max as a upper bound on the amount of memory that 2001-12-09 03:07:19 +00:00
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 count aobj pages (most notably kernel stack pages) as anon pages 2002-06-20 15:05:29 +00:00
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_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
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 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 /*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 Move swapctl(SWAP_STATS) implementation to a separate function called 2002-03-18 11:43:01 +00:00
uvm_unix.c Make the coredump routine exec-format/emulation specific. Split 2001-12-08 00:35:25 +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