freebsd-dev/sys/arm
Alan Cox dd05fa1945 Add a page size field to struct vm_page. Increase the page size field when
a partially populated reservation becomes fully populated, and decrease this
field when a fully populated reservation becomes partially populated.

Use this field to simplify the implementation of pmap_enter_object() on
amd64, arm, and i386.

On all architectures where we support superpages, the cost of creating a
superpage mapping is roughly the same as creating a base page mapping.  For
example, both kinds of mappings entail the creation of a single PTE and PV
entry.  With this in mind, use the page size field to make the
implementation of vm_map_pmap_enter(..., MAP_PREFAULT_PARTIAL) a little
smarter.  Previously, if MAP_PREFAULT_PARTIAL was specified to
vm_map_pmap_enter(), that function would only map base pages.  Now, it will
create up to 96 base page or superpage mappings.

Reviewed by:	kib
Sponsored by:	EMC / Isilon Storage Division
2014-06-07 17:12:26 +00:00
..
allwinner Add the start of the ARM platform code. This is based on the PowerPC 2014-05-17 11:27:36 +00:00
arm Add a page size field to struct vm_page. Increase the page size field when 2014-06-07 17:12:26 +00:00
at91 Remove extra semicolons. 2014-06-06 16:37:42 +00:00
broadcom/bcm2835 FreeBSD, historically, has always used 8-bit addresses for i2c devices 2014-06-03 19:24:53 +00:00
cavium/cns11xx When mapping device memory, use PTE_DEVICE rather than PTE_NOCACHE. 2014-05-10 20:03:03 +00:00
conf Restore comments accidentally removed. 2014-06-06 04:08:55 +00:00
freescale Remove extra semicolons. 2014-06-06 16:37:42 +00:00
include Delete obsolete and unused PJ4B CPU functions 2014-05-25 19:19:41 +00:00
lpc Add the start of the ARM platform code. This is based on the PowerPC 2014-05-17 11:27:36 +00:00
mv Avoid using hard-coded SoC's register address in mptramp code for Armada XP 2014-06-05 21:37:04 +00:00
rockchip Factor out kernel configuration for DWC OTG FDT attach code. 2014-05-29 11:13:40 +00:00
s3c2xx0 When mapping device memory, use PTE_DEVICE rather than PTE_NOCACHE. 2014-05-10 20:03:03 +00:00
samsung/exynos Fix i2c communication interface to be compatible with 2014-06-01 08:45:27 +00:00
tegra Add the start of the ARM platform code. This is based on the PowerPC 2014-05-17 11:27:36 +00:00
ti Remove extra semicolons. 2014-06-06 16:37:42 +00:00
versatile Add the start of the ARM platform code. This is based on the PowerPC 2014-05-17 11:27:36 +00:00
xilinx Add the start of the ARM platform code. This is based on the PowerPC 2014-05-17 11:27:36 +00:00
xscale Do not hand the VM the memory used for stacks/page tables/etc. 2014-05-29 16:56:39 +00:00