[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200903051450.23163.M4rkusXXL@web.de>
Date: Thu, 5 Mar 2009 14:50:22 +0100
From: Markus <M4rkusXXL@....de>
To: linux-kernel@...r.kernel.org
Cc: Wu Fengguang <fengguang.wu@...el.com>,
Zdenek Kabelac <zkabelac@...hat.com>,
"linux-mm@...ck.org" <linux-mm@...ck.org>,
Lukas Hejtmanek <xhejtman@....muni.cz>
Subject: Re: drop_caches ...
Am Donnerstag, 5. März 2009 schrieb Wu Fengguang:
> Hi Markus,
>
> On Thu, Mar 05, 2009 at 01:55:35PM +0200, Markus wrote:
> > > Markus, you may want to try this patch, it will have better chance
to figure out
> > > the hidden file pages.
> > >
> > > 1) apply the patch and recompile kernel with
CONFIG_PROC_FILECACHE=m
> > > 2) after booting:
> > > modprobe filecache
> > > cp /proc/filecache filecache-`date +'%F'`
> > > 3) send us the copied file, it will list all cached files,
including
> > > the normally hidden ones.
> >
> > The file consists of 674 lines. If I interpret it right, "size" is
the
> > 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).
Yeah, I just wondered because sometimes its size < cached, buts thats
because cached must obviously be a multiple of 4 KB. So no problem
here ;)
Thanks,
Markus
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists