From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf0-f169.google.com (mail-pf0-f169.google.com [209.85.192.169]) by kanga.kvack.org (Postfix) with ESMTP id 9EF01828E1 for ; Wed, 10 Feb 2016 13:13:53 -0500 (EST) Received: by mail-pf0-f169.google.com with SMTP id e127so15718093pfe.3 for ; Wed, 10 Feb 2016 10:13:53 -0800 (PST) Received: from mga14.intel.com (mga14.intel.com. [192.55.52.115]) by mx.google.com with ESMTP id we2si6489147pac.127.2016.02.10.10.13.52 for ; Wed, 10 Feb 2016 10:13:53 -0800 (PST) Subject: Re: computing drop-able caches References: <56AAA77D.7090000@cisco.com> <20160128235815.GA5953@cmpxchg.org> <56AABA79.3030103@cisco.com> <56AAC085.9060509@cisco.com> <20160129015534.GA6401@cmpxchg.org> <56ABEAA7.1020706@redhat.com> <56BB7BC7.4040403@cisco.com> From: Dave Hansen Message-ID: <56BB7DDE.8080206@intel.com> Date: Wed, 10 Feb 2016 10:13:50 -0800 MIME-Version: 1.0 In-Reply-To: <56BB7BC7.4040403@cisco.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org List-ID: To: Daniel Walker , "Khalid Mughal (khalidm)" , Rik van Riel , Johannes Weiner Cc: Alexander Viro , Michal Hocko , Andrew Morton , "linux-fsdevel@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-mm@kvack.org" , "xe-kernel@external.cisco.com" On 02/10/2016 10:04 AM, Daniel Walker wrote: >> [Linux_0:/]$ echo 3 > /proc/sys/vm/drop_caches >> [Linux_0:/]$ cat /proc/meminfo >> MemTotal: 3977836 kB >> MemFree: 1095012 kB >> MemAvailable: 1434148 kB > > I suspect MemAvailable takes into account more than just the droppable > caches. For instance, reclaimable slab is included, but I don't think > drop_caches drops that part. There's a bit for page cache and a bit for slab, see: https://kernel.org/doc/Documentation/sysctl/vm.txt -- 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