Re: [PATCH v2 6/7] mm, proc: add KReclaimable to /proc/meminfo

From: Andrew Morton
Date: Mon Jun 18 2018 - 17:33:26 EST


On Mon, 18 Jun 2018 11:18:07 +0200 Vlastimil Babka <vbabka@xxxxxxx> wrote:

> The vmstat NR_KERNEL_MISC_RECLAIMABLE counter is for kernel non-slab
> allocations that can be reclaimed via shrinker. In /proc/meminfo, we can show
> the sum of all reclaimable kernel allocations (including slab) as
> "KReclaimable". Add the same counter also to per-node meminfo under /sys

Why do you consider this useful enough to justify adding it to
/pro/meminfo? How will people use it, what benefit will they see, etc?


Maybe you've undersold this whole patchset, but I'm struggling a bit to
see what the end-user benefits are. What would be wrong with just
sticking with what we have now?