1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-21 11:13:30 +00:00
freebsd/sys/vm
Alan Cox 7e2393ff51 Long ago, revision 1.22 of vm/vm_pager.h introduced a bug. Specifically,
it introduced a check after the call to file system's get pages method
that assumes that the get pages method does not change the array of pages
that is passed to it.  In the case of vnode_pager_generic_getpages(),
this assumption has been incorrect.  The contents of the array of pages
may be shifted by vnode_pager_generic_getpages().  Likely, the problem
has been hidden by vnode_pager_haspage() limiting the set of pages that
are passed to vnode_pager_generic_getpages() such that a shift never
occurs.

The fix implemented herein is to adjust the pointer to the array of pages
rather than shifting the pages within the array.

MFC after: 3 weeks
Fix suggested by: tegge
2006-10-14 23:21:48 +00:00
..
default_pager.c
device_pager.c
memguard.c
memguard.h
phys_pager.c
pmap.h
redzone.c
redzone.h
swap_pager.c
swap_pager.h
uma_core.c
uma_dbg.c
uma_dbg.h
uma_int.h
uma.h
vm_contig.c sun4v requires TSBs (translation storage buffers) to be contiguous and be 2006-10-12 04:41:39 +00:00
vm_extern.h
vm_fault.c
vm_glue.c
vm_init.c
vm_kern.c
vm_kern.h
vm_map.c
vm_map.h
vm_meter.c
vm_mmap.c
vm_object.c Add _vm_stats and _vm_stats_misc to the sysctl declarations in sysctl.h and 2006-08-21 06:27:28 +00:00
vm_object.h
vm_page.c Fix two minor style(9) nits in v1.313 which were noticed during an 2006-09-29 00:20:56 +00:00
vm_page.h Make vm_page_release_contig() static. 2006-09-03 22:24:08 +00:00
vm_pageout.c
vm_pageout.h
vm_pageq.c The return value from vm_pageq_add_new_page() is not used. Eliminate it. 2006-08-25 04:36:19 +00:00
vm_pager.c
vm_pager.h
vm_param.h
vm_unix.c
vm_zeroidle.c Add _vm_stats and _vm_stats_misc to the sysctl declarations in sysctl.h and 2006-08-21 06:27:28 +00:00
vm.h
vnode_pager.c Long ago, revision 1.22 of vm/vm_pager.h introduced a bug. Specifically, 2006-10-14 23:21:48 +00:00
vnode_pager.h