Re: drop_caches ...

Wu Fengguang
2009-03-05T13:49:32Z

On Thu, Mar 05, 2009 at 03:45:28PM +0200, Lukas Hejtmanek wrote:
> On Thu, Mar 05, 2009 at 09:36:03PM +0800, Wu Fengguang wrote:
> > size = file size in bytes
> > cached = cached pages
> >
> > So it's normal that (size > cached).
>
> I guess, the question was how it can happen that (cached > size).

Ah, because cached size is rounded up to page boundaries,
so a 1K sized file will have 4K cached size.

Thanks,
Fengguang