From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail203.messagelabs.com (mail203.messagelabs.com [216.82.254.243]) by kanga.kvack.org (Postfix) with SMTP id CB6726B00CD for ; Thu, 5 Mar 2009 09:08:03 -0500 (EST) Date: Thu, 5 Mar 2009 22:07:08 +0800 From: Wu Fengguang Subject: Re: drop_caches ... Message-ID: <20090305140708.GA23369@localhost> References: <200903041057.34072.M4rkusXXL@web.de> <200903041947.41542.M4rkusXXL@web.de> <20090305004850.GA6045@localhost> <200903051255.35407.M4rkusXXL@web.de> <20090305133603.GA22442@localhost> <20090305140125.GD646@ics.muni.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090305140125.GD646@ics.muni.cz> Sender: owner-linux-mm@kvack.org To: Lukas Hejtmanek Cc: Markus , "linux-kernel@vger.kernel.org" , Zdenek Kabelac , "linux-mm@kvack.org" List-ID: On Thu, Mar 05, 2009 at 04:01:25PM +0200, Lukas Hejtmanek wrote: > On Thu, Mar 05, 2009 at 09:36:03PM +0800, Wu Fengguang wrote: > > > filesize and "cached" the amount of the file being in cache (why can > > > this be bigger than the file?!). > > > > size = file size in bytes > > cached = cached pages > > > > So it's normal that (size > cached). > > and one more thing. It seems that at least in the version of filecache I have, > the size and cached are in kB rather than in B. Ah sorry for the confusion, it is in KB: DIV_ROUND_UP(size, 1024). It may be better to simply use bytes though. Thanks, Fengguang -- 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