1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-15 10:17:20 +00:00
freebsd/sys
Mark Johnston 9978bd996b Add malloc_domainset(9) and _domainset variants to other allocator KPIs.
Remove malloc_domain(9) and most other _domain KPIs added in r327900.
The new functions allow the caller to specify a general NUMA domain
selection policy, rather than specifically requesting an allocation from
a specific domain.  The latter policy tends to interact poorly with
M_WAITOK, resulting in situations where a caller is blocked indefinitely
because the specified domain is depleted.  Most existing consumers of
the _domain KPIs are converted to instead use a DOMAINSET_PREF() policy,
in which we fall back to other domains to satisfy the allocation
request.

This change also defines a set of DOMAINSET_FIXED() policies, which
only permit allocations from the specified domain.

Discussed with:	gallatin, jeff
Reported and tested by:	pho (previous version)
MFC after:	2 weeks
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D17418
2018-10-30 18:26:34 +00:00
..
amd64 Emulate machine check related MSR_EXTFEATURES to allow guest OSes to 2018-10-30 10:02:23 +00:00
arm Consolidate identical ELF auxargs type defintions. 2018-10-22 22:24:32 +00:00
arm64 Consolidate identical ELF auxargs type defintions. 2018-10-22 22:24:32 +00:00
bsm
cam Add statistics for TRIM comands 2018-10-26 16:23:51 +00:00
cddl Implement O_BENEATH and AT_BENEATH. 2018-10-25 22:16:34 +00:00
compat Implement the dump_stack() function in the LinuxKPI. 2018-10-30 16:42:56 +00:00
conf Only invoke 'ls' if the local modules directory exists. 2018-10-30 18:20:34 +00:00
contrib Update to Zstandard 1.3.7 2018-10-22 18:29:12 +00:00
crypto rijndael (AES): Avoid leaking sensitive data on kernel stack 2018-10-26 20:53:01 +00:00
ddb ddb: Enable 'thread <address>' 2018-10-20 20:45:49 +00:00
dev Add malloc_domainset(9) and _domainset variants to other allocator KPIs. 2018-10-30 18:26:34 +00:00
dts Revert r339421 due to unintended files included to commit. 2018-10-18 15:17:58 +00:00
fs Move 32-bit compat support for FIODGNAME to the right place. 2018-10-26 17:59:25 +00:00
gdb
geom Have gconcat advertise delete support if one of its disks does. 2018-10-30 00:22:14 +00:00
gnu dts: Import DTS for arm64 2018-08-23 13:21:01 +00:00
i386 Add malloc_domainset(9) and _domainset variants to other allocator KPIs. 2018-10-30 18:26:34 +00:00
isa Reapply, with minor tweaks, r338025, from the original commit: 2018-09-26 17:12:14 +00:00
kern Add malloc_domainset(9) and _domainset variants to other allocator KPIs. 2018-10-30 18:26:34 +00:00
kgssapi
libkern mcount: tidy up ANSIfication 2018-10-20 22:39:35 +00:00
mips Consolidate identical ELF auxargs type defintions. 2018-10-22 22:24:32 +00:00
modules Implement the dump_stack() function in the LinuxKPI. 2018-10-30 16:42:56 +00:00
net Allow changing lagg(4) MTU. 2018-10-30 09:53:57 +00:00
net80211 Fix misspellings of transmitter/transmitted 2018-08-10 20:37:32 +00:00
netgraph Remove the Yarrow PRNG algorithm option in accordance with due notice 2018-08-26 12:51:46 +00:00
netinet Expose some netdump configuration parameters through sysctl. 2018-10-29 21:16:26 +00:00
netinet6 rip6_input() inp validation after epoch(9) 2018-10-24 10:42:35 +00:00
netipsec Add sadb_x_sa2 extension to SADB_ACQUIRE requests. 2018-10-21 14:19:16 +00:00
netpfil pf: Make ':0' ignore link-local v6 addresses too 2018-10-28 05:32:50 +00:00
netsmb
nfs
nfsclient
nfsserver
nlm
ofed Introduce and use sgid_index in CM requests in ibcore. 2018-09-09 07:20:15 +00:00
opencrypto Add sha224 to the authctx union. 2018-10-23 18:07:37 +00:00
powerpc Bump the number of fans supported from 8 to 12. 2018-10-30 11:51:09 +00:00
riscv o Add pmap lock around pmap_fault_fixup() to ensure other thread will not 2018-10-26 12:27:07 +00:00
rpc
security Rework the logic around quick checks for auditing that take place at 2018-10-02 15:58:17 +00:00
sparc64 Consolidate identical ELF auxargs type defintions. 2018-10-22 22:24:32 +00:00
sys Add malloc_domainset(9) and _domainset variants to other allocator KPIs. 2018-10-30 18:26:34 +00:00
teken Implement ECMA-48 "REP", some Linuxen have started emitting them recently. 2018-10-21 08:29:36 +00:00
tests
tools Only call sigdeferstop() for NFS. 2018-10-23 21:43:41 +00:00
ufs Implement O_BENEATH and AT_BENEATH. 2018-10-25 22:16:34 +00:00
vm Add malloc_domainset(9) and _domainset variants to other allocator KPIs. 2018-10-30 18:26:34 +00:00
x86 Add malloc_domainset(9) and _domainset variants to other allocator KPIs. 2018-10-30 18:26:34 +00:00
xdr
xen xen: legacy PVH fixes for the new interrupt count 2018-09-13 07:14:11 +00:00
Makefile