freebsd-dev/sys/sparc64/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
_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 Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
asi.h
asm.h Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
asmacros.h
atomic.h sparc64: add atomic_fcmpset 2017-01-10 21:10:20 +00:00
bus_common.h Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
bus_dma.h Add bus_dmamap_load_ma() function to load map with the array of 2013-10-27 21:39:16 +00:00
bus_private.h Move the implementation of bus_space_barrier(9) to the inline function in 2013-10-24 17:06:41 +00:00
bus.h Since r296250 it is no longer possible for devices to use bus space 2016-04-10 22:43:36 +00:00
cache.h
ccr.h
clock.h
cmt.h
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
db_machdep.h Fix printing of negative offsets (typically from frame pointers) again. 2017-03-26 18:46:35 +00:00
dcr.h
dump.h - Unbreak dumpsys(9) on sparc64 after r276772 2015-11-16 23:02:33 +00:00
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 Reserve AT_TIMEKEEP auxv entry for providing usermode the pointer to 2012-06-22 06:38:31 +00:00
endian.h Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
exec.h
fireplane.h
float.h Rationalize BSD license on sys/*/include/float.h 2015-08-05 17:05:35 +00:00
floatingpoint.h
fp.h
frame.h
fsr.h Add a global MD macro for the VIS block size instead of duplicating 2012-08-31 11:15:01 +00:00
gdb_machdep.h
idprom.h
ieee.h Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
ieeefp.h
in_cksum.h Rationalize BSD license on sys/*/include/in_cksum.h 2015-08-05 19:05:12 +00:00
instr.h
intr_machdep.h - Give PIL_PREEMPT the lowest priority just above low/stray interrupts. 2012-10-20 12:07:48 +00:00
iommureg.h Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
iommuvar.h
jbus.h
kdb.h
kerneldump.h Add support to libkvm for reading vmcores from other architectures. 2015-11-27 18:58:26 +00:00
ktr.h Change the - hopefully - last piece of ktr(9) to use PCPU_GET(cpuid) 2015-12-30 18:57:29 +00:00
limits.h
lsu.h
mcntl.h
md_var.h Merge from r290547: 2015-11-21 02:49:33 +00:00
memdev.h
metadata.h
nexusvar.h
ofw_machdep.h Make using the #address-cells property on the interrupt parent in device 2016-01-02 19:28:35 +00:00
ofw_mem.h
ofw_nexus.h
param.h Add fueword(9) and casueword(9) functions. They are like fuword(9) 2014-10-28 15:22:13 +00:00
pcb.h Add a convenience macro for the returns_twice attribute, and apply it to 2012-04-29 11:04:31 +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
pstate.h
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
reloc.h
resource.h
runq.h
sc_machdep.h
setjmp.h
sf_buf.h On sparc64, do not keep mappings for the destroyed sf_bufs. Sparc64 2014-08-10 16:59:39 +00:00
sigframe.h
signal.h Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
smp.h Merge r286374 from x86: 2015-09-13 00:08:04 +00:00
stack.h
stdarg.h
sysarch.h Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
tick.h
tlb.h
trap.h
tsb.h
tstate.h
tte.h
ucontext.h POSIX states that #include <signal.h> shall make both mcontext_t and 2016-02-12 07:38:19 +00:00
upa.h
utrap.h
varargs.h Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
vdso.h Implement mechanism to export some kernel timekeeping data to 2012-06-22 07:06:40 +00:00
ver.h
vm.h Add new bus methods for mapping resources. 2016-05-20 17:57:47 +00:00
vmparam.h Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
watch.h
wstate.h