server-skynet-source-3rd-je.../test
Qi Wang 72cfdce718 Allocate tcache stack from base allocator
When using metadata_thp, allocate tcache bin stacks from base0, which means they
will be placed on huge pages along with other metadata, instead of mixed with
other regular allocations.

In order to do so, modified the base allocator to support limited reuse: freed
tcached stacks (from thread termination) will be returned to base0 and made
available for reuse, but no merging will be attempted since they were bump
allocated out of base blocks. These reused base extents are managed using
separately allocated base edata_t -- they are cached in base->edata_avail when
the extent is all allocated.

One tricky part is, stats updating must be skipped for such reused extents
(since they were accounted for already, and there is no purging for base). This
requires tracking the "if is reused" state explicitly and bypass the stats
updates when allocating from them.
2023-09-18 12:18:32 -07:00
..
analyze Enabled -Wstrict-prototypes and fixed warnings. 2023-07-06 12:00:02 -07:00
include/test Make headers self-contained by fixing #includes 2023-07-14 09:06:32 -07:00
integration Make headers self-contained by fixing #includes 2023-07-14 09:06:32 -07:00
src Enable a few additional warnings for CI and fix the issues they uncovered 2023-08-11 13:56:23 -07:00
stress Enabled -Wstrict-prototypes and fixed warnings. 2023-07-06 12:00:02 -07:00
unit Allocate tcache stack from base allocator 2023-09-18 12:18:32 -07:00
test.sh.in Print test error messages in color when stderr is a terminal 2023-07-13 13:03:23 -07:00