r327914 mjg Jan. 13, 2018, 9:26 a.m.
r327913 cy Jan. 13, 2018, 8:28 a.m.
MFC after:	1 week
r327912 cy Jan. 13, 2018, 8:16 a.m.
sprintf() with a macro call to SNPRINTF similar to other calls to
SNPRINTF within this same block.

MFC after:	1 week
r327911 jhibbits Jan. 13, 2018, 4:53 a.m.
This should be effectively a nop for all archs, but for some reason the codegen
difference on the PowerPC 970 is such that the struct assignment doesn't work
(unless a printf() using one of the elements in the copied struct follows it),
while the memcpy() succeeds.  On all archs the memcpy() should be expanded to an
inline copy, since the copy is bounded to ~16 bytes.

MFC after:	3 weeks
r327910 emaste Jan. 13, 2018, 4 a.m.
There's a report of some regression in ports.  Revert for now for an
exp run for this change in isolation (previous lld exp run also included
switching the linker used for ports to lld).

Also revert the src.conf.5 regeneration in r327824.

Reported by:	antoine
Sponsored by:	The FreeBSD Foundation
r327908 nwhitehorn Jan. 13, 2018, 3:09 a.m.
r327907 jhibbits Jan. 13, 2018, 2:56 a.m.
If a fixup really is needed, it should be fixed in u-boot, not in FreeBSD.

Suggested by:	nwhitehorn
r327906 jhibbits Jan. 13, 2018, 1:36 a.m.
Some PowerQUICC and QorIQ platforms have a L2 cache managed via the
memory-mapped configuration registers, and appear as a node in the device
tree.  This adds basic support to enable the cache.
r327905 mjg Jan. 13, 2018, 12:05 a.m.
Saves on turnstile trips if the lock got more readers.
r327904 np Jan. 13, 2018, 12:04 a.m.
r327903 jeff Jan. 12, 2018, 11:41 p.m.
r327901 jeff Jan. 12, 2018, 11:34 p.m.
allocated with a tag to come from the specified domain if it meets the
other constraints provided by the tag.  Automatically create a tag at
the root of each bus specifying the domain local to that bus if

Reviewed by:	jhb, kib
Tested by:	pho
Sponsored by:	Netflix, Dell/EMC Isilon
Differential Revision:	https://reviews.freebsd.org/D13545
r327900 jeff Jan. 12, 2018, 11:25 p.m.
domains can be done by the _domain() API variants.  UMA also supports a
first-touch policy via the NUMA zone flag.

The slab layer is now segregated by VM domains and is precise.  It handles
iteration for round-robin directly.  The per-cpu cache layer remains
a mix of domains according to where memory is allocated and freed.  Well
behaved clients can achieve perfect locality with no performance penalty.

The direct domain allocation functions have to visit the slab layer and
so require per-zone locks which come at some expense.

Reviewed by:	Attilio (a slightly older version)
Tested by:	pho
Sponsored by:	Netflix, Dell/EMC Isilon
r327899 jeff Jan. 12, 2018, 11:13 p.m.
reservations by giving each memory domain its own KVA space in vmem that
is naturally aligned on superpage boundaries.

Reviewed by:	alc, markj, kib  (some objections)
Sponsored by:	Netflix, Dell/EMC Isilon
Tested by;	pho
Differential Revision:	https://reviews.freebsd.org/D13289
r327898 pfg Jan. 12, 2018, 11:12 p.m.
Make the calloc wrappers behave as expected by using mallocarray.
It is rather weird that the malloc wrappers also zeroes the memory: update
a comment to reflect at least two cases where it is expected.

Reviewed by:	tuexen