HardenedBSD/sys/vm
Alan Cox 2863482058 In the past four years, we've added two new vm object types. Each time,
similar changes had to be made in various places throughout the machine-
independent virtual memory layer to support the new vm object type.
However, in most of these places, it's actually not the type of the vm
object that matters to us but instead certain attributes of its pages.
For example, OBJT_DEVICE, OBJT_MGTDEVICE, and OBJT_SG objects contain
fictitious pages.  In other words, in most of these places, we were
testing the vm object's type to determine if it contained fictitious (or
unmanaged) pages.

To both simplify the code in these places and make the addition of future
vm object types easier, this change introduces two new vm object flags
that describe attributes of the vm object's pages, specifically, whether
they are fictitious or unmanaged.

Reviewed and tested by:	kib
2012-12-09 00:32:38 +00:00
..
default_pager.c
device_pager.c
memguard.c
memguard.h
phys_pager.c
pmap.h
redzone.c
redzone.h
sg_pager.c
swap_pager.c
swap_pager.h
uma_core.c
uma_dbg.c
uma_dbg.h
uma_int.h
uma.h White-space cleanups. 2012-12-08 09:23:05 +00:00
vm_extern.h
vm_fault.c In the past four years, we've added two new vm object types. Each time, 2012-12-09 00:32:38 +00:00
vm_glue.c
vm_init.c
vm_kern.c
vm_kern.h
vm_map.c In the past four years, we've added two new vm object types. Each time, 2012-12-09 00:32:38 +00:00
vm_map.h
vm_meter.c In the past four years, we've added two new vm object types. Each time, 2012-12-09 00:32:38 +00:00
vm_mmap.c
vm_object.c In the past four years, we've added two new vm object types. Each time, 2012-12-09 00:32:38 +00:00
vm_object.h In the past four years, we've added two new vm object types. Each time, 2012-12-09 00:32:38 +00:00
vm_page.c In the past four years, we've added two new vm object types. Each time, 2012-12-09 00:32:38 +00:00
vm_page.h
vm_pageout.c In the past four years, we've added two new vm object types. Each time, 2012-12-09 00:32:38 +00:00
vm_pageout.h
vm_pager.c
vm_pager.h
vm_param.h
vm_phys.c
vm_phys.h
vm_reserv.c
vm_reserv.h
vm_unix.c
vm_zeroidle.c
vm.h
vnode_pager.c
vnode_pager.h