r358128 jeff Feb. 19, 2020, 6:48 p.m.
This gives much better concurrency when there are a large number of
cores per-domain and multiple domains.  Avoid taking the lock entirely
if it will not be productive.  ROUNDROBIN domains will have mixed
memory in each domain and will load balance to all domains.

While here refactor the zone/domain separation and bucket limits to
simplify callers.

Reviewed by:	markj
Differential Revision:	https://reviews.freebsd.org/D23673
r358127 bapt Feb. 19, 2020, 5:09 p.m.
While I didn't plan another upgrade, This version incorporate fixes from
kevans@ so let's upgrade to it
r358124 kp Feb. 19, 2020, 4:44 p.m.
The FreeBSD foundation no longer requires this, as per
https://lists.freebsd.org/pipermail/svn-src-all/2019-February/177215.html and
private communications.

Sponsored by:	The FreeBSD Foundation
r358123 emaste Feb. 19, 2020, 4:23 p.m.
Another case, missed in r358105
r358120 emaste Feb. 19, 2020, 3:56 p.m.
For some reason build+package+test time went from about 1h10 to over
1h30 (killed due to timeout prior to completion).

The reason for the increase still needs investigation.
r358118 kevans Feb. 19, 2020, 3:12 p.m.
BinString assumes a length in the next argument; Name is more appropriate
for the final argument.
r358117 kevans Feb. 19, 2020, 2:55 p.m.
This is the kdump counterpart of the truss support added in r358116, and
also a part of D23733. shm_open2 is the successor to shm_open.

Reviewed by:	kaktus
r358116 kevans Feb. 19, 2020, 2:54 p.m.
shm_open2 is similar to shm_open, except it also takes shmflags and optional
name to label the anonymous region for, e.g., debugging purposes.

The appropriate support for decoding shmflags was added to libsysdecode in

This is a part of D23733.

Reviewed by:	kaktus
r358115 kevans Feb. 19, 2020, 2:52 p.m.
Any SHM_* flag here is (and likely will continue to be) a shmflag that may
be passed to shm_open2(), with exception to SHM_ANON. This is a prereq to
adding appropriate support to truss/kdump.

Reviewed by:	kaktus (slightly earlier version)
Differential Revision:	https://reviews.freebsd.org/D23733
r358111 emaste Feb. 19, 2020, 2:40 p.m.
The last subdirectory of gnu/libexec was removed in r85742.
r358109 kevans Feb. 19, 2020, 2:32 p.m.
The first argument to shm_open(2) as well as shm_open2(2) may be a path or
SHM_ANON. Decode SHM_ANON, at least- paths will show up as namei results in
kdump output, which may be sufficient; in those cases, we'll have printed an

Future commits will add support for shm_open2() to libsysdecode/truss/kdump.

Reported by:	kaktus
MFC after:	3 days
r358105 emaste Feb. 19, 2020, 2:26 p.m.
r358103 bapt Feb. 19, 2020, 2:18 p.m.
r358102 emaste Feb. 19, 2020, 2:16 p.m.
r358101 emaste Feb. 19, 2020, 2:12 p.m.
GNU gcov will be removed along with GCC 4.2.1 at the end of the month.
Change the default to NO in preparation.