freebsd-dev/sys/arm/include
Andre Oppermann 1211375f6e Add VM_KMEM_SIZE_SCALE parameter set to 2 (50%) for all ARM platforms.
VM_KMEM_SIZE_SCALE specifies which fraction of the available physical
memory, after deduction of the kernel itself and other early statically
allocated memory, can be used for the kmem_map.  The kmem_map provides
for all UMA/malloc allocations in KVM space.

Previously ARM was using a fixed kmem_map size of (12*1024*1024) = 12MB
without regard to effectively available memory.  This is too small for
recent ARM SoC with more than 128MB of RAM.

For reference a description of others related kmem_map parameters:

 VM_KMEM_SIZE		default start size of kmem_map if SCALE is
			not defined
 VM_KMEM_SIZE_MIN	hard floor on the kmem_map size
 VM_KMEM_SIZE_MAX	hard ceiling on the kmem_map size
 VM_KMEM_SIZE_SCALE	fraction of the available real memory to
			be used for the kmem_map, limited by the
			MIN and MAX parameters.

Tested by:	ian
MFC after:	1 week
2013-02-01 10:26:31 +00:00
..
_align.h
_bus.h
_inttypes.h
_limits.h
_stdint.h
_types.h
armreg.h Replace generic ARM11 option with more specific 2012-12-20 04:32:02 +00:00
asm.h Merging projects/armv6, part 1 2012-08-15 03:03:03 +00:00
asmacros.h Merging projects/armv6, part 1 2012-08-15 03:03:03 +00:00
atags.h
atomic.h Don't define rel/acq variants of some atomic operations as the regular 2013-01-15 22:08:03 +00:00
blockio.h
board.h
bootconfig.h
bus_dma.h
bus.h
clock.h
cpu.h
cpuconf.h Replace generic ARM11 option with more specific 2012-12-20 04:32:02 +00:00
cpufunc.h Replace generic ARM11 option with more specific 2012-12-20 04:32:02 +00:00
db_machdep.h
disassem.h
elf.h
endian.h
exec.h
fdt.h
fiq.h
float.h
floatingpoint.h
fp.h Merging projects/armv6, part 1 2012-08-15 03:03:03 +00:00
frame.h
gdb_machdep.h
ieee.h
ieeefp.h
in_cksum.h
intr.h Eliminate the need for an intermediate array of indices into the arrays of 2013-01-19 00:50:12 +00:00
katelib.h
kdb.h
limits.h
machdep.h Add hw.board.serial and hw.board.revision for exporting board-specific info 2013-01-05 23:08:10 +00:00
md_var.h Merging projects/armv6, part 1 2012-08-15 03:03:03 +00:00
memdev.h
metadata.h
minidump.h
ofw_machdep.h
param.h Merging projects/armv6, part 1 2012-08-15 03:03:03 +00:00
pcb.h Merging projects/armv6, part 1 2012-08-15 03:03:03 +00:00
pcpu.h Use get_pcpu() instead of using pcpup, as it's wrong for SMP. 2013-01-09 01:52:28 +00:00
pl310.h Only work around errata when we are on a part where the erratum applies. 2013-01-06 00:42:09 +00:00
pmap.h Switch default cache type for ARMv6/ARMv7 from write-through to 2013-01-08 02:40:20 +00:00
pmc_mdep.h
proc.h * Correct KINFO_PROC_SIZE for ARM EABI. 2013-01-17 09:52:35 +00:00
profile.h
psl.h
pte.h Merging projects/armv6, part 1 2012-08-15 03:03:03 +00:00
ptrace.h
reg.h
reloc.h
resource.h
runq.h
sc_machdep.h Piggyback MIPS changes and add ARM syscons support for devices with 2012-08-25 23:59:31 +00:00
setjmp.h
sf_buf.h
sigframe.h
signal.h
smp.h Merging projects/armv6, part 1 2012-08-15 03:03:03 +00:00
stack.h
stdarg.h
swi.h
sysarch.h Merging projects/armv6, part 1 2012-08-15 03:03:03 +00:00
trap.h
ucontext.h
undefined.h
utrap.h
vdso.h
vfp.h Merging projects/armv6, part 1 2012-08-15 03:03:03 +00:00
vm.h Properly implement pmap_[get|set]_memattr 2012-12-19 00:24:31 +00:00
vmparam.h Add VM_KMEM_SIZE_SCALE parameter set to 2 (50%) for all ARM platforms. 2013-02-01 10:26:31 +00:00