1211375f6e
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 |
||
---|---|---|
.. | ||
_align.h | ||
_bus.h | ||
_inttypes.h | ||
_limits.h | ||
_stdint.h | ||
_types.h | ||
armreg.h | ||
asm.h | ||
asmacros.h | ||
atags.h | ||
atomic.h | ||
blockio.h | ||
board.h | ||
bootconfig.h | ||
bus_dma.h | ||
bus.h | ||
clock.h | ||
cpu.h | ||
cpuconf.h | ||
cpufunc.h | ||
db_machdep.h | ||
disassem.h | ||
elf.h | ||
endian.h | ||
exec.h | ||
fdt.h | ||
fiq.h | ||
float.h | ||
floatingpoint.h | ||
fp.h | ||
frame.h | ||
gdb_machdep.h | ||
ieee.h | ||
ieeefp.h | ||
in_cksum.h | ||
intr.h | ||
katelib.h | ||
kdb.h | ||
limits.h | ||
machdep.h | ||
md_var.h | ||
memdev.h | ||
metadata.h | ||
minidump.h | ||
ofw_machdep.h | ||
param.h | ||
pcb.h | ||
pcpu.h | ||
pl310.h | ||
pmap.h | ||
pmc_mdep.h | ||
proc.h | ||
profile.h | ||
psl.h | ||
pte.h | ||
ptrace.h | ||
reg.h | ||
reloc.h | ||
resource.h | ||
runq.h | ||
sc_machdep.h | ||
setjmp.h | ||
sf_buf.h | ||
sigframe.h | ||
signal.h | ||
smp.h | ||
stack.h | ||
stdarg.h | ||
swi.h | ||
sysarch.h | ||
trap.h | ||
ucontext.h | ||
undefined.h | ||
utrap.h | ||
vdso.h | ||
vfp.h | ||
vm.h | ||
vmparam.h |