1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-14 14:55:41 +00:00
freebsd/sys/arm/include
Alan Cox c70af4875e As of r257209, all architectures have defined VM_KMEM_SIZE_SCALE. In other
words, every architecture is now auto-sizing the kmem arena.  This revision
changes kmeminit() so that the definition of VM_KMEM_SIZE_SCALE becomes
mandatory and the definition of VM_KMEM_SIZE becomes optional.

Replace or eliminate all existing definitions of VM_KMEM_SIZE.  With
auto-sizing enabled, VM_KMEM_SIZE effectively became an alternate spelling
for VM_KMEM_SIZE_MIN on most architectures.  Use VM_KMEM_SIZE_MIN for
clarity.

Change kmeminit() so that the effect of defining VM_KMEM_SIZE is similar to
that of setting the tunable vm.kmem_size.  Whereas the macros
VM_KMEM_SIZE_{MAX,MIN,SCALE} have had the same effect as the tunables
vm.kmem_size_{max,min,scale}, the effects of VM_KMEM_SIZE and vm.kmem_size
have been distinct.  In particular, whereas VM_KMEM_SIZE was overridden by
VM_KMEM_SIZE_{MAX,MIN,SCALE} and vm.kmem_size_{max,min,scale}, vm.kmem_size
was not.  Remedy this inconsistency.  Now, VM_KMEM_SIZE can be used to set
the size of the kmem arena at compile-time without that value being
overridden by auto-sizing.

Update the nearby comments to reflect the kmem submap being replaced by the
kmem arena.  Stop duplicating the auto-sizing formula in every machine-
dependent vmparam.h and place it in kmeminit() where auto-sizing takes
place.

Reviewed by:	kib (an earlier version)
Sponsored by:	EMC / Isilon Storage Division
2013-11-08 16:25:00 +00:00
..
_align.h
_bus.h
_inttypes.h
_limits.h
_stdint.h Make the wchar_t type machine dependent. 2012-06-24 04:15:58 +00:00
_types.h Make the wchar_t type machine dependent. 2012-06-24 04:15:58 +00:00
armreg.h Remove not working and deprecated PJ4Bv6 support 2013-10-28 21:39:54 +00:00
asm.h Reduce the difference to NetBSD. 2013-06-07 21:23:11 +00:00
asmacros.h When entering exception handlers we may not have an aligned stack. This is 2013-08-05 19:06:28 +00:00
at91_gpio.h Add userland access to at91 gpio functionality via ioctl calls. Also, 2013-03-29 19:52:57 +00:00
atags.h
atomic.h Fix an itt instruction. We need to execute both the mov and b instructions 2013-10-26 19:09:56 +00:00
blockio.h
board.h Create a generic way to support multiple boards within an 2012-07-07 05:02:39 +00:00
bootconfig.h
bus_dma.h
bus.h o Switch to use physical addresses in rman for FDT. 2013-03-18 15:18:55 +00:00
clock.h
counter.h Fix issues with zeroing and fetching the counters, on x86 and ppc64. 2013-07-01 02:48:27 +00:00
cpu.h Remove #include <machine/frame.h> from all the arm code that doesn't 2013-10-27 01:34:10 +00:00
cpuconf.h Replace generic ARM11 option with more specific 2012-12-20 04:32:02 +00:00
cpufunc.h Switch off explicit broadcasting of the TLB flush operations for PJ4B CPU 2013-10-28 21:41:44 +00:00
db_machdep.h
devmap.h Style and comment tweaks, no functional changes. 2013-11-05 05:01:46 +00:00
disassem.h
elf.h
endian.h
exec.h
fdt.h Move remaining code and data related to static device mapping into the 2013-11-04 22:45:26 +00:00
fiq.h
float.h
floatingpoint.h
fp.h Remove fpe_sp_state as we don't support fpe. 2013-08-17 14:53:53 +00:00
frame.h Remove the last dregs of trapframe_t. It turns out only arm was using 2013-10-27 17:09:23 +00:00
gdb_machdep.h
ieee.h On ARM EABI double precision floating point values are stored in the 2013-09-07 14:04:10 +00:00
ieeefp.h
in_cksum.h
intr.h Bump max number of IRQs for Cortex-Ax family to cover Exynos5 requirement. 2013-06-28 22:47:33 +00:00
katelib.h
kdb.h Define KDB_STOPPEDPCB, so that we can access the backtraces of threads running 2013-07-29 08:07:35 +00:00
limits.h
machdep.h Call initarm_lastaddr() later in the init sequence, after establishing 2013-11-05 02:57:34 +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 Introduce superpages support for ARMv6/v7. 2013-08-26 17:12:30 +00:00
pcb.h Make sure the PCB is aligned on 8 bytes, we may use ldrd/strd to access it, 2013-10-27 22:15:50 +00:00
pcpu.h Remove #include <machine/frame.h> from all the arm code that doesn't 2013-10-27 01:34:10 +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 Make PTE_DEVICE a synonym for PTE_NOCACHE on armv4, to make it easier to 2013-11-05 04:06:29 +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 Introduce superpages support for ARMv6/v7. 2013-08-26 17:12:30 +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 Merge in changes from NetBSD: 2013-06-08 07:16:22 +00:00
sf_buf.h Fix of r255318: move sf_buf_alloc()/sf_buf_free() out of #ifdef 2013-09-07 07:56:55 +00:00
sigframe.h
signal.h Don't use an empty struct. 2013-03-11 10:56:46 +00:00
smp.h Explicitely include <machine/pcb.h>, so that we get the definition of 2013-07-29 12:55:37 +00:00
stack.h
stdarg.h
swi.h
sysarch.h - Correct mispellings of the word occurrence 2013-04-17 11:40:10 +00:00
trap.h
ucontext.h
undefined.h Remove #include <machine/frame.h> from all the arm code that doesn't 2013-10-27 01:34:10 +00:00
utrap.h
vdso.h
vfp.h Fix the vfp code to work with the 16 register variants of the VFP unit. We 2013-06-13 21:31:33 +00:00
vm.h Properly implement pmap_[get|set]_memattr 2012-12-19 00:24:31 +00:00
vmparam.h As of r257209, all architectures have defined VM_KMEM_SIZE_SCALE. In other 2013-11-08 16:25:00 +00:00