freebsd-dev/sys/vm
Alan Cox 05cb58f669 Correct an error in the allocation of the vm_page_dump array in
vm_page_startup().  Specifically, the dump_avail array should be used
instead of the phys_avail array to calculate the size of vm_page_dump.  For
example, the pages for the message buffer are allocated prior to
vm_page_startup() by subtracting them from the last entry in the phys_avail
array, but the first thing that vm_page_startup() does after creating the
vm_page_dump array is to set the bits corresponding to the message buffer
pages in that array.  However, these bits might not actually exist in the
array, because the size of the array is determined by the current value in
the last entry of the phys_avail array.  In general, the only reason why
this doesn't always result in an out-of-bounds array access is that the size
of the vm_page_dump array is rounded up to the next page boundary.  This
change eliminates that dependence on rounding (and luck).

MFC after:	6 weeks
2010-12-01 03:35:19 +00:00
..
default_pager.c
device_pager.c Add new make_dev_p(9) flag MAKEDEV_ETERNAL to inform devfs that created 2010-08-06 09:42:15 +00:00
memguard.c Have memguard(9) crash with an easier-to-debug message on double-free. 2010-08-31 17:43:47 +00:00
memguard.h The realloc case for memguard(9) will copy too many bytes when 2010-08-31 16:57:58 +00:00
phys_pager.c
pmap.h
redzone.c
redzone.h
sg_pager.c
swap_pager.c PG_BUSY -> VPO_BUSY, PG_WANTED -> VPO_WANTED in manual pages and comments 2010-10-20 05:17:23 +00:00
swap_pager.h
uma_core.c Update startup_alloc() to support multi-page allocations and allow internal 2010-11-04 15:33:50 +00:00
uma_dbg.c
uma_dbg.h
uma_int.h
uma.h Change uma_zone_set_max to return the effective value of "nitems" after 2010-10-16 04:41:45 +00:00
vm_contig.c vm_pageout_flush() might cache the pages that finished write to the 2010-11-18 21:09:02 +00:00
vm_extern.h Rework memguard(9) to reserve significantly more KVA to detect 2010-08-11 22:10:37 +00:00
vm_fault.c
vm_glue.c
vm_init.c
vm_kern.c Replace an XXX comment with the appropriate code. 2010-09-20 20:41:59 +00:00
vm_kern.h
vm_map.c Implement a (soft) stack guard page for auto-growing stack mappings. 2010-11-14 17:53:52 +00:00
vm_map.h - Make 'vm_refcnt' volatile so that compilers won't be tempted to treat 2010-10-21 17:29:32 +00:00
vm_meter.c
vm_mmap.c Do not use __FreeBSD_version prefix for the special osrel version. 2010-11-14 21:59:11 +00:00
vm_object.c After the sleep caused by encountering a busy page, relookup the page. 2010-11-24 12:25:17 +00:00
vm_object.h
vm_page.c Correct an error in the allocation of the vm_page_dump array in 2010-12-01 03:35:19 +00:00
vm_page.h Fix issue noted by alc while reviewing r215938: 2010-11-28 05:51:31 +00:00
vm_pageout.c vm_pageout_flush() might cache the pages that finished write to the 2010-11-18 21:09:02 +00:00
vm_pageout.h vm_pageout_flush() might cache the pages that finished write to the 2010-11-18 21:09:02 +00:00
vm_pager.c
vm_pager.h
vm_param.h
vm_phys.c Correct some format strings used by sysctls. 2010-10-30 18:00:53 +00:00
vm_phys.h Very rough first cut at NUMA support for the physical page allocator. For 2010-07-27 20:33:50 +00:00
vm_reserv.c Off by one page in vm_reserv_reclaim_contig(): Also reclaim reservations 2010-11-19 04:30:33 +00:00
vm_reserv.h
vm_unix.c
vm_zeroidle.c
vm.h
vnode_pager.c
vnode_pager.h