freebsd-skq/sys
mmacy ff20311f27 Back pcpu zone with domain correct pages
- Change pcpu zone consumers to use a stride size of PAGE_SIZE.
  (defined as UMA_PCPU_ALLOC_SIZE to make future identification easier)

- Allocate page from the correct domain for a given cpu.

- Don't initialize pc_domain to non-zero value if NUMA is not defined
  There are some misconceptions surrounding this field. It is the
  _VM_ NUMA domain and should only ever correspond to valid domain
  values as understood by the VM.

The former slab size of sizeof(struct pcpu) was somewhat arbitrary.
The new value is PAGE_SIZE because that's the smallest granularity
which the VM can allocate a slab for a given domain. If you have
fewer than PAGE_SIZE/8 counters on your system there will be some
memory wasted, but this is obviously something where you want the
cache line to be coming from the correct domain.

Reviewed by: jeff
Sponsored by: Limelight Networks
Differential Revision:  https://reviews.freebsd.org/D15933
2018-07-06 02:06:03 +00:00
..
amd64 Back pcpu zone with domain correct pages 2018-07-06 02:06:03 +00:00
arm Back pcpu zone with domain correct pages 2018-07-06 02:06:03 +00:00
arm64 Back pcpu zone with domain correct pages 2018-07-06 02:06:03 +00:00
bsm
cam remove unneeded inclusion of sys/interrupt.h from several files 2018-07-04 09:07:18 +00:00
cddl This exposes ZFS user and group quotas via the normal 2018-07-05 22:56:13 +00:00
compat Create a new macro for static DPCPU data. 2018-07-05 17:13:37 +00:00
conf Make ZSTD a real option via ZSTDIO. 2018-07-05 17:07:23 +00:00
contrib MFV: r335802 2018-06-29 23:48:30 +00:00
crypto aesni(4): Fix {de,en}crypt operations that allocated a buffer 2018-06-23 18:20:17 +00:00
ddb Extend show proc with reaper, sigparent, and vmspace information 2018-05-25 13:59:48 +00:00
dev ath(4): Fix typo in debugging code 2018-07-05 21:38:54 +00:00
dts Add spi-max-frequency properties to all spigen nodes. This is a required 2018-06-23 22:55:22 +00:00
fs Fix the pNFS server so that it handles the "#mds_path" check for mirrors. 2018-07-04 19:46:26 +00:00
gdb
geom gpart: add EFI alias for MBR partition scheme 2018-06-17 20:10:48 +00:00
gnu dts: Update our copy to Linux 4.17 2018-06-14 07:12:10 +00:00
i386 Back pcpu zone with domain correct pages 2018-07-06 02:06:03 +00:00
isa
kern Back pcpu zone with domain correct pages 2018-07-06 02:06:03 +00:00
kgssapi
libkern Sync strlcpy with userland version, again 2018-06-21 17:35:13 +00:00
mips Back pcpu zone with domain correct pages 2018-07-06 02:06:03 +00:00
modules META_MODE: Fix wanting a meta file in source tree. 2018-07-04 00:18:40 +00:00
net Revert r335833. 2018-07-04 03:36:46 +00:00
net80211
netgraph Catch up two more places to the V_ifnet change to a CK_STAILQ. 2018-05-24 00:06:55 +00:00
netinet Create a new macro for static DPCPU data. 2018-07-05 17:13:37 +00:00
netinet6 fix 335919 - check "last" not "inp" where appropriate 2018-07-04 16:34:07 +00:00
netipsec fix locking within tcp_ipsec_pcbctl() to match ipsec4_pcbctl(), ipsec4_pcbctl() 2018-07-04 17:10:07 +00:00
netpfil Create a new macro for static DPCPU data. 2018-07-05 17:13:37 +00:00
netsmb Eliminate the overhead of gratuitous repeated reinitialization of cap_rights 2018-05-09 18:47:24 +00:00
nfs Switch RIB and RADIX_NODE_HEAD lock from rwlock(9) to rmlock(9). 2018-06-16 08:26:23 +00:00
nfsclient
nfsserver
nlm
ofed Revert r335094 and properly fix OFED build after r335053. 2018-06-14 07:55:10 +00:00
opencrypto
powerpc Back pcpu zone with domain correct pages 2018-07-06 02:06:03 +00:00
riscv Back pcpu zone with domain correct pages 2018-07-06 02:06:03 +00:00
rpc Fix the server side krpc so that the kernel nfsd threads terminate. 2018-07-02 17:50:46 +00:00
security Fix build breakage in veriexec for 32-bit architectures. 2018-06-20 06:54:38 +00:00
sparc64 Back pcpu zone with domain correct pages 2018-07-06 02:06:03 +00:00
sys Back pcpu zone with domain correct pages 2018-07-06 02:06:03 +00:00
teken teken: Fix sequences header which was crossing the 80-col boundary 2018-05-29 08:41:44 +00:00
tests epoch(9): Make epochs non-preemptible by default 2018-05-18 17:29:43 +00:00
tools
ufs Create um_flags in the ufsmount structure to hold flags for a UFS filesystem. 2018-06-29 22:24:41 +00:00
vm Back pcpu zone with domain correct pages 2018-07-06 02:06:03 +00:00
x86 Back pcpu zone with domain correct pages 2018-07-06 02:06:03 +00:00
xdr
xen xen: remove dead code from gnttab.h 2018-05-25 08:44:00 +00:00
Makefile