Package: procps
Version: 2:3.3.10-2
Severity: normal

This appears to be a followon from '#565518: procps: free does not take
slab into account in used - buffers/cache' (I've CC'd you in Nico since
you'll probably be interested).

In proc/sysinfo.c:meminfo, kb_main_cached is calculated as the following:

kb_main_cached = kb_page_cache + kb_slab;

This is wrong as kb_slab includes SUnreclaim - presumably this should be
kb_slab_reclaimable?

Part of the conky investigation in
https://github.com/brndnmtthws/conky/issues/130

Thanks


--- System information. ---
Architecture: amd64
Kernel:       Linux 4.1.0-2-amd64

Debian Release: stretch/sid
  990 testing         www.deb-multimedia.org
  990 testing         10.1.0.3
  500 unstable        10.1.0.3
  500 quodlibet-unstable 10.1.0.3
    1 experimental    10.1.0.3

--- Package information. ---
Depends                  (Version) | Installed
==================================-+-==================
libc6                    (>= 2.15) |
libncurses5            (>= 5.5-5~) |
libncursesw5     (>= 5.6+20070908) |
libprocps3                         |
libtinfo5                          |
lsb-base               (>= 3.0-10) |
initscripts                        |


Recommends      (Version) | Installed
=========================-+-===========
psmisc                    | 22.21-2.1


Package's Suggests field is empty.

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to