free: include SReclaimable in cached value
authorLukas Rusak <lorusak@gmail.com>
Tue, 25 Jun 2019 16:52:33 +0000 (18:52 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Tue, 25 Jun 2019 16:53:10 +0000 (18:53 +0200)
commit9663bbd17ba3ab9f7921d7c46f07d177cb4a1435
tree626bf54db7e2a973eacf064c3e0d0f355f0eeb34
parent25a871fb402012325654ed82e568c337bc426848
free: include SReclaimable in cached value

I noticed that the 'used' values from busybox free and
procps-ng free differed so I looked into why. It turns
out that procps-ng uses the "SReclaimable" value as
part of the cached value.

This was changed in
procps-ng commit 05d751c4f076a2f0118b914c5e51cfbb4762ad8e

function                                             old     new   delta
free_main                                            633     653     +20

Signed-off-by: Lukas Rusak <lorusak@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
procps/free.c