HomeFreeBSD

zstd: track allocator statistics

Description

zstd: track allocator statistics

Note that this only tracks sizes as requested by the caller.
Actual allocated space will almost always be bigger (e.g., rounded up to
the next power of 2 or page size). Additionally the allocated buffer may
be holding other areas hostage. Nonetheless, this is a starting point
for tracking memory usage in zstd.

Reviewed-by: Allan Jude <allan@klarasystems.com>
Reviewed-by: Ryan Moeller <ryan@ixsystems.com>
Reviewed-by: Kjeld Schouten <kjeld@schouten-lebbing.nl>
Signed-off-by: Mateusz Guzik <mjguzik@gmail.com>
Closes #11129

Details

Provenance
mjgAuthored on Oct 30 2020, 10:26 PM
GitHub <noreply@github.com>Committed on Oct 30 2020, 10:26 PM
Parents
rGe8beeaa1116c: ICP: gcm: Allocate hash subkey table separately
Branches
Unknown
Tags
Unknown

Event Timeline