1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-20 11:11:24 +00:00
freebsd/lib/libmemstat
Jeff Roberson ab3185d15e Implement NUMA support in uma(9) and malloc(9). Allocations from specific
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
2018-01-12 23:25:05 +00:00
..
libmemstat.3
Makefile
Makefile.depend
memstat_all.c lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
memstat_internal.h lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
memstat_malloc.c lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
memstat_uma.c Implement NUMA support in uma(9) and malloc(9). Allocations from specific 2018-01-12 23:25:05 +00:00
memstat.c lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
memstat.h lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00