On 25/10/15 19:51, OmegaPhil wrote:
On 24/10/15 04:36, Craig Small wrote:
On Sun, Oct 11, 2015 at 06:19:24PM +0100, OmegaPhil wrote:That's an interesting read. It probably means used should be total -
Since this has apparently gone nowhere, I've had a look into this
- 'Available' is a new stat added in January 2014 which aims to
give the users a figure of memory available that, once used, will
cause kswapd to start swapping pages out - here is the commit
adding it:
https://github.com/torvalds/linux/commit/34e431b0ae398fc54ea69ff85ec700722c9da773
available.
Separate to this, the available calculationI have now changed so that cached only includes reclaimable. This is
(fs/proc/meminfo.c:meminfo_proc_show) only takes into account
NR_SLAB_RECLAIMABLE and therefore ignores NR_SLAB_UNRECLAIMABLE -
this
in both the master and newlib branches. Thanks for your digging on
this to find some references.
https://gitlab.com/procps-ng/procps/commit/05d751c4f076a2f0118b914c5e51cfbb4762ad8e
- Craig
Cheers. Now to get htop fixed...
Attachment:
signature.asc
Description: OpenPGP digital signature