free: use SReclaimable in cached
The previous commit added all of slab into the cache value. The thing was is cached in this context is something you can get back and reclaim if under memory pressure. The problem was slab parameter includes both reclaimable and unreclaimable values which doesn't make sense in this context. This commit make cached only use the reclaimable component. References: http://www.freelists.org/post/procps/OmegaPhilxxxxxxxxxxxxx-Bug799716-free-considers-cached-to-include-SUnreclaim https://github.com/brndnmtthws/conky/issues/130 https://bugs.debian.org/799716 Commits: 6cb75efe
Loading
-
mentioned in commit 602b9a02
-
mentioned in issue #25 (closed)
-
mentioned in issue #26 (closed)
Please register or sign in to comment