markj f931b753dd 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-10-26 16:23:51 +00:00
2018-10-25 22:16:34 +00:00
2018-10-22 18:29:12 +00:00
2018-10-20 20:45:49 +00:00
2018-08-23 13:21:01 +00:00
2018-10-20 22:39:35 +00:00
2018-10-30 09:53:57 +00:00
2018-07-15 00:31:17 +00:00
2018-10-23 21:43:41 +00:00
2018-10-25 22:16:34 +00:00