Re: computing drop-able caches

From: Daniel Walker
Date: Fri Feb 12 2016 - 13:15:26 EST


On 02/12/2016 10:06 AM, Dave Hansen wrote:
On 01/28/2016 03:42 PM, Daniel Walker wrote:
My colleague Khalid and I are working on a patch which will provide a
/proc file to output the size of the drop-able page cache.
One way to implement this is to use the current drop_caches /proc
routine, but instead of actually droping the caches just add
up the amount.
Code, please.

We have a process for release code which doesn't allow us to send it immediately. B