lkml.org 
[lkml]   [2001]   [Nov]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.4.14-pre8: 'free' still reports bogus 'cached' value.
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/

\
 
 \ /
  Last update: 2005-03-22 13:12    [W:0.067 / U:0.344 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site