freebsd-skq/sys/ia64/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
..
pc
_align.h
_bus.h
_inttypes.h
_limits.h
_regset.h
_stdint.h
_types.h
acpica_machdep.h Tidy up global locks for ACPICA. There is no functional change. 2013-08-13 21:34:03 +00:00
asm.h
atomic.h
bootinfo.h
bus_dma.h
bus.h
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 Revert r253748,253749 2013-07-28 18:44:17 +00:00
cpufunc.h
db_machdep.h
dig64.h
efi.h
elf.h
endian.h
exec.h
float.h
floatingpoint.h
fpu.h
frame.h
gdb_machdep.h
ia64_cpu.h
ieee.h
ieeefp.h
in_cksum.h
intr.h
intrcnt.h
iodev.h
kdb.h
limits.h
mca.h
md_var.h
memdev.h
pal.h
param.h Use LOG2_ID_PAGE_SIZE again for the identity mapping in regions 6 & 7. 2013-11-01 01:32:01 +00:00
pcb.h
pci_cfgreg.h
pcpu.h Merge from projects/counters: 2013-04-08 19:19:10 +00:00
pmap.h Purge the translation cache of APs before we unleash them. To that 2013-10-31 23:06:04 +00:00
pmc_mdep.h
proc.h
profile.h
pte.h
ptrace.h
reg.h
reloc.h
resource.h
runq.h
sal.h
setjmp.h
sf_buf.h On those machines, where sf_bufs do not represent any real object, make 2013-09-06 05:37:49 +00:00
sigframe.h
signal.h
smp.h
stdarg.h
sysarch.h
ucontext.h
unwind.h
varargs.h
vdso.h
vm.h
vmparam.h As of r257209, all architectures have defined VM_KMEM_SIZE_SCALE. In other 2013-11-08 16:25:00 +00:00