Re: 2.4.14-pre8: 'free' still reports bogus 'cached' value.

From: Patrick Mau (mau@oscar.prima.de)
Date: Sun Nov 04 2001 - 15:30:58 EST


On Sun, Nov 04, 2001 at 10:59:21AM -0800, Andrew Morton wrote:
> Andrew Morton wrote:
> >
> > It's a bug in the /proc code. If buffercache pages exceed
> > pagecache pages, `pg_size' flips negative.
> >
> > There doesn't seem to be any reason to subtract buffermem_pages
> > from page_cache_size - they're independent.
> >
>
> Well that was crap, wasn't it? Wrong kernel.

Hallo Andrew,

I didn't even noticed, because I had no time to test ;o)

But thnks anyway. Maybe - for testing only - one could insert
a BUG() if the cached amount gets negative to get a call trace ?

My expirience in kernel hacking is rather limited.
I just wanted to report it anyway, because I thought it got fixed.

Have a nice Monday,
(at least I hope I will),

Patrick
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Nov 07 2001 - 21:00:24 EST