mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Patrick Mau <mau@oscar.prima.de>
To: Andrew Morton <akpm@zip.com.au>
Cc: Linux Kernel <linux-kernel@vger.kernel.org>
Subject: Re: 2.4.14-pre8: 'free' still reports bogus 'cached' value.
Date: Sun, 4 Nov 2001 21:30:58 +0100	[thread overview]
Message-ID: <20011104213058.A11308@oscar.dorf.de> (raw)
In-Reply-To: <20011104132238.A14511@oscar.dorf.de> <3BE58886.FBCAEDB5@zip.com.au> <3BE59009.79CBED53@zip.com.au>
In-Reply-To: <3BE59009.79CBED53@zip.com.au>

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

      reply	other threads:[~2001-11-04 20:31 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-04 12:22 Patrick Mau
2001-11-04 18:27 ` Andrew Morton
2001-11-04 18:59   ` Andrew Morton
2001-11-04 20:30     ` Patrick Mau [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20011104213058.A11308@oscar.dorf.de \
    --to=mau@oscar.prima.de \
    --cc=akpm@zip.com.au \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®