1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-21 11:13:30 +00:00
freebsd/sys
Andrew Gallatin 7687707dd4 Track device's NUMA domain in ifnet & alloc ifnet from NUMA local memory
This commit adds new if_alloc_domain() and if_alloc_dev() methods to
allocate ifnets.  When called with a domain on a NUMA machine,
ifalloc_domain() will record the NUMA domain in the ifnet, and it will
allocate the ifnet struct from memory which is local to that NUMA
node.  Similarly, if_alloc_dev() is a wrapper for if_alloc_domain
which uses a driver supplied device_t to call ifalloc_domain() with
the appropriate domain.

Note that the new if_numa_domain field fits in an alignment pad in
struct ifnet, and so does not alter the size of the structure.

Reviewed by:	glebius, kib, markj
Sponsored by:	Netflix
Differential Revision:	https://reviews.freebsd.org/D19930
2019-04-22 19:24:21 +00:00
..
amd64 Fix initial x87 state after r345562. 2019-04-16 19:46:02 +00:00
arm Move the reporting of spurious interrupts under bootverbose control, because 2019-04-21 17:39:01 +00:00
arm64 Add SY8106A Buck Regulator and Allwinner CIR devices to GENERIC arm64 kernel. 2019-04-20 03:21:47 +00:00
bsm
cam Report DIF protection type the disk is formatted with. 2019-04-22 01:08:14 +00:00
cddl Change the way FreeBSD GID inheritance is hacked. 2019-04-19 15:44:45 +00:00
compat Enable ioremap for aarch64 in the LinuxKPI 2019-04-20 15:57:05 +00:00
conf Clarify the relationship between INVARIANTS and DIAGNOSTIC a bit. 2019-04-22 11:31:13 +00:00
contrib [ath] [ath_hal] [ath_hal_9300] Extend the start PCU receive to handle resetting ANI. 2019-04-21 02:36:01 +00:00
crypto
ddb
dev Track device's NUMA domain in ifnet & alloc ifnet from NUMA local memory 2019-04-22 19:24:21 +00:00
dts
fs Add #ifdef INET as requested by bz@. 2019-04-21 22:53:51 +00:00
gdb
geom gnop(8): Nopify configuration as a kernel dump device 2019-04-22 03:25:49 +00:00
gnu
i386 Fix initial x87 state after r345562. 2019-04-16 19:46:02 +00:00
isa
kern When parsing command line stuff, treat tabs and spaces the same. 2019-04-18 22:52:12 +00:00
kgssapi
libkern Revert r346410 and r346411 2019-04-19 22:08:17 +00:00
mips random(4): Restore availability tradeoff prior to r346250 2019-04-18 20:48:54 +00:00
modules Use symlinks for kernel modules rather than hardlinks 2019-04-20 12:51:05 +00:00
net Track device's NUMA domain in ifnet & alloc ifnet from NUMA local memory 2019-04-22 19:24:21 +00:00
net80211
netgraph
netinet r297225 move the assignment of sin from add to the top of the function. 2019-04-22 14:53:53 +00:00
netinet6 Fix build for mips and powerpc after r346530. 2019-04-22 08:32:00 +00:00
netipsec
netpfil pf: No need to M_NOWAIT in DIOCRSETTFLAGS 2019-04-18 11:37:44 +00:00
netsmb
nfs
nfsclient
nfsserver
nlm
ofed
opencrypto
powerpc powerpc64/powernv: Relax flash block write requirements 2019-04-20 02:44:38 +00:00
riscv
rpc
security
sparc64
sys Revert r346410 and r346411 2019-04-19 22:08:17 +00:00
teken
tests
tools
ufs
vm Disable vm map consistency checking by default on INVARIANTS kernels. 2019-04-22 11:23:35 +00:00
x86 remove the 4GB boundary requirement on PCI DMA segments 2019-04-19 13:43:33 +00:00
xdr
xen
Makefile