]> git.ipfire.org Git - thirdparty/xz.git/commit
xz: Read MemAvailable from /proc/meminfo on Linux. memavail
authorLasse Collin <lasse.collin@tukaani.org>
Wed, 28 Feb 2024 17:55:48 +0000 (19:55 +0200)
committerLasse Collin <lasse.collin@tukaani.org>
Tue, 9 Apr 2024 15:39:40 +0000 (18:39 +0300)
commit1f3b81e137a67c6b2286b973c0d60bfdb671ed68
tree8f768a5f1450da02b4e105726e0a8d2cdcce0ccc
parent986865ea2f9d1f8dbef4a130926df106b0f6d41a
xz: Read MemAvailable from /proc/meminfo on Linux.

This uses 75 % of MemAvailable as the default soft memory usage limit
for -T0. It can be checked with --info-memory.

The use of MemAvailable was first suggested by
Sebastian Andrzej Siewior in 2021. This is a different
implementation, including the 75 % part.
src/xz/hardware.c