Return-Path: Subject: Re: computing drop-able caches To: Daniel Walker , Alexander Viro , Johannes Weiner , Michal Hocko , Andrew Morton , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, "Khalid Mughal (khalidm)" , "xe-kernel@external.cisco.com" References: <56AAA77D.7090000@cisco.com> From: Dave Hansen Message-ID: <56BE1F2A.30103@intel.com> Date: Fri, 12 Feb 2016 10:06:34 -0800 MIME-Version: 1.0 In-Reply-To: <56AAA77D.7090000@cisco.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org List-ID: 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. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org