Re: [RFC PATCH] proc: do not include shmem and driver pages in /proc/meminfo::Cached
From: Rik van Riel
Date: Thu Feb 18 2016 - 16:05:16 EST
On Thu, 2016-02-18 at 15:36 -0500, Johannes Weiner wrote:
>Â
> The semantics of Cached including shmem and kernel pages have been
> this way forever, dictated by the single-LRU implementation rather
>
They may have been that way forever,
but they have also been confusing to
users forever, so ...
> than optimal semantics. So it's an uncomfortable proposal to change
> it
> now. But what other way to fix this for existing users? What other
> way
> to make the interface more intuitive for future users? And what could
> break by removing it now? I guess somebody who already subtracts
> Shmem
> from Cached.
>
> What are your thoughts on this?
>Â
Reviewed-by: Rik van Riel <riel@xxxxxxxxxx>
--Â
All rights reversed
Attachment:
signature.asc
Description: This is a digitally signed message part