]> git.ipfire.org Git - thirdparty/collectd.git/commit
Do not account reclaimable slab as used
authorWeiping Zhang <zhangweiping@didiglobal.com>
Mon, 17 May 2021 07:59:50 +0000 (15:59 +0800)
committerMatthias Runge <mrunge@matthias-runge.de>
Tue, 30 Nov 2021 17:00:37 +0000 (18:00 +0100)
commit77e2fcd91e270be826ab0a701f5929c26b9ce2c8
tree904263bc0f1820d22533501cfa166c480d228c31
parent90795b9aa1724e18af8033b19da65cbab16fd467
Do not account reclaimable slab as used

ChangeLog: memory plugin: do not account reclaimable slab as used.

Align this counter with free(1).
https://gitlab.com/procps-ng/procps/-/blob/v3.3.17/proc/sysinfo.c#L789

Signed-off-by: Weiping Zhang <zhangweiping@didiglobal.com>
src/memory.c