freebsd-skq/sys/mips/include
Gleb Smirnoff 83c9dea1ba - Remove 'struct vmmeter' from 'struct pcpu', leaving only global vmmeter
in place.  To do per-cpu stats, convert all fields that previously were
  maintained in the vmmeters that sit in pcpus to counter(9).
- Since some vmmeter stats may be touched at very early stages of boot,
  before we have set up UMA and we can do counter_u64_alloc(), provide an
  early counter mechanism:
  o Leave one spare uint64_t in struct pcpu, named pc_early_dummy_counter.
  o Point counter(9) fields of vmmeter to pcpu[0].pc_early_dummy_counter,
    so that at early stages of boot, before counters are allocated we already
    point to a counter that can be safely written to.
  o For sparc64 that required a whole dummy pcpu[MAXCPU] array.

Further related changes:
- Don't include vmmeter.h into pcpu.h.
- vm.stats.vm.v_swappgsout and vm.stats.vm.v_swappgsin changed to 64-bit,
  to match kernel representation.
- struct vmmeter hidden under _KERNEL, and only vmstat(1) is an exclusion.

This is based on benno@'s 4-year old patch:
https://lists.freebsd.org/pipermail/freebsd-arch/2013-July/014471.html

Reviewed by:	kib, gallatin, marius, lidl
Differential Revision:	https://reviews.freebsd.org/D10156
2017-04-17 17:34:47 +00:00
..
_align.h Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
_bus.h
_inttypes.h
_limits.h Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
_stdint.h
_types.h Define the vm_ooffset_t and vm_pindex_t types as machine-independend. 2017-02-04 12:26:38 +00:00
asm.h Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
atomic.h Use 64bit store instruction in atomic_fcmpset_64. 2017-02-06 14:00:28 +00:00
bootinfo.h
bus_dma.h
bus.h Missing commit - remove MIPS fdt bus space. 2016-02-11 06:19:58 +00:00
cache_mipsNN.h
cache_r4k.h
cache.h Account for bigger secondary data cache line size. 2016-11-19 16:36:38 +00:00
cdefs.h
clock.h Garbage collect unused prototype for clockintr(). 2016-05-20 15:34:03 +00:00
counter.h - Remove 'struct vmmeter' from 'struct pcpu', leaving only global vmmeter 2017-04-17 17:34:47 +00:00
cpu.h Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
cpufunc.h Add Ingenic XBurst coprocessor 0 extra bits. 2016-11-19 15:38:13 +00:00
cpuinfo.h Revert prior commit to restore the files mangled by my "fixing" merge 2017-03-01 02:10:40 +00:00
cpuregs.h Be more conservative when enabling write-combining on MIPS 2016-12-28 13:48:00 +00:00
db_machdep.h Fix printing of negative offsets (typically from frame pointers) again. 2017-03-26 18:46:35 +00:00
dump.h
efi.h Fix building on i386 and arm. But 'public domain' headers on the files 2016-10-13 06:56:23 +00:00
elf.h
endian.h Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
exec.h Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
fdt.h Remove bus space fdt for MIPS. 2016-02-11 06:19:32 +00:00
float.h Add full softfloat and hardfloat support for MIPS. 2016-10-31 15:33:58 +00:00
floatingpoint.h
fls64.h
fpu.h
frame.h
gdb_machdep.h
hwfunc.h Allow the use of soft-interrupts for sending IPIs. 2016-09-08 17:37:13 +00:00
ieee.h
ieeefp.h
in_cksum.h
intr_machdep.h - Remove 'struct vmmeter' from 'struct pcpu', leaving only global vmmeter 2017-04-17 17:34:47 +00:00
intr.h Fix MIPS INTRNG (both FDT and non-FDT) behaviour broken by r304459 2016-09-07 09:31:10 +00:00
kdb.h
limits.h Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
locore.h Identify Ingenic CPUs. 2016-11-19 15:10:10 +00:00
md_var.h
memdev.h
metadata.h
minidump.h
mips_opcode.h Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
octeon_cop2.h
ofw_machdep.h
param.h Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
pcb.h Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
pcpu.h - Remove 'struct vmmeter' from 'struct pcpu', leaving only global vmmeter 2017-04-17 17:34:47 +00:00
pmap.h Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
pmc_mdep.h
proc.h Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
profile.h Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
pte.h Implement pmap_change_attr and related APIs on MIPS 2016-12-28 02:55:26 +00:00
ptrace.h Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
reg.h Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
regdef.h
regnum.h Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
reloc.h
resource.h Define PCI_RES_BUS for MIPS. 2016-04-12 07:18:48 +00:00
runq.h
sc_machdep.h
setjmp.h
sf_buf.h
sigframe.h
signal.h Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
smp.h Rename ARM_INTRNG and MIPS_INTRNG to INTRNG. This will help with machine 2016-04-15 16:05:41 +00:00
stdarg.h
sysarch.h Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
tlb.h
tls.h
trap.h Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
ucontext.h Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
varargs.h Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
vdso.h
vm.h Implement pmap_change_attr and related APIs on MIPS 2016-12-28 02:55:26 +00:00
vmparam.h Renumber copyright clause 4 2017-02-28 23:42:47 +00:00