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
..
2018-07-07 15:55:52 +00:00
2018-08-10 13:38:23 +00:00
2018-10-15 18:39:33 +00:00
2018-07-17 23:23:45 +00:00
2018-06-15 02:28:36 +00:00
2018-04-13 20:30:49 +00:00
2018-10-20 19:14:46 +00:00
2018-03-14 18:27:06 +00:00
2018-10-20 18:00:12 +00:00
2018-08-01 08:24:34 +00:00
2017-11-30 20:33:45 +00:00
2018-06-07 13:57:34 +00:00
2018-08-07 17:13:42 +00:00
2018-08-21 10:08:12 +00:00
2018-09-06 21:24:14 +00:00
2017-11-30 20:33:45 +00:00
2017-10-21 07:23:45 +00:00
2017-11-30 20:33:45 +00:00
2018-04-13 20:30:49 +00:00
2018-09-26 19:41:00 +00:00
2018-09-26 19:41:00 +00:00
2018-07-27 10:40:48 +00:00
2018-07-13 22:49:48 +00:00
2018-01-03 00:56:30 +00:00
2018-01-13 16:31:07 +00:00