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
..
2017-03-23 05:37:04 +00:00
2017-07-07 05:43:44 +00:00
2017-03-23 05:41:56 +00:00
2016-05-17 12:52:31 +00:00
2017-03-23 05:44:18 +00:00
2018-08-17 04:17:51 +00:00
2016-03-16 05:05:54 +00:00
2018-06-23 19:30:29 +00:00
2014-11-23 21:00:00 +00:00
2016-02-29 17:26:41 +00:00
2018-01-01 00:20:35 +00:00
2018-09-20 18:24:32 +00:00
2017-12-28 08:22:26 +00:00
2016-06-08 10:38:00 +00:00
2017-10-29 08:17:03 +00:00
MFH
2016-03-02 23:53:08 +00:00
2015-06-13 19:20:56 +00:00
2017-04-27 16:05:12 +00:00
2018-07-31 19:08:24 +00:00
2017-10-29 08:17:03 +00:00
2014-07-23 18:54:18 +00:00
2015-08-12 11:56:19 +00:00
2018-03-23 16:56:44 +00:00
2014-05-04 12:32:37 +00:00
2014-07-18 06:56:24 +00:00
2016-09-03 20:38:13 +00:00
2015-05-19 15:43:20 +00:00
2015-07-16 15:43:55 +00:00
2017-05-16 23:31:52 +00:00
2014-11-23 21:00:00 +00:00
2018-04-04 20:15:41 +00:00
2017-12-28 08:22:26 +00:00
2017-10-11 21:53:50 +00:00
2018-08-03 12:14:29 +00:00
2018-07-24 18:51:38 +00:00
2018-08-08 18:50:42 +00:00
2016-02-24 20:32:24 +00:00