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

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.

I wonder if it's due to the fact that grow_dev_page()
calls find_or_create_page(), but we increment the
buffermem_pages count unconditionally, whether or
not the page was newly created?

  reply	other threads:[~2001-11-04 19:04 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 [this message]
2001-11-04 20:30     ` Patrick Mau

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=3BE59009.79CBED53@zip.com.au \
    --to=akpm@zip.com.au \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mau@oscar.prima.de \
    --cc=torvalds@transmeta.com \
    /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®