All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@zip.com.au>
To: Christoph Hellwig <hch@infradead.org>
Cc: Linus Torvalds <torvalds@transmeta.com>, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] buffermem_pages removal (5/5)
Date: Tue, 21 May 2002 10:51:19 -0700	[thread overview]
Message-ID: <3CEA8917.7A52176C@zip.com.au> (raw)
In-Reply-To: <20020521141015.E15796@infradead.org>

Christoph Hellwig wrote:
> 
> No more users of buffermem_pages are left, remove it.

Yeah, may as well.

The buffermem_pages accounting is vaguely interesting because
it tells us how much of ZONE_NORMAL is being usefully used for
blockdev pagecache.  And ZONE_NORMAL utilisation is a bit of a
hot topic at present.

But the same information can be obtained on-demand by running
around the bdev superblock's inodes adding up nr_pages.  That
approach is better than the per-page atomic ops in buffer.c.

-

  reply	other threads:[~2002-05-21 17:47 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-21 13:10 [PATCH] buffermem_pages removal (5/5) Christoph Hellwig
2002-05-21 17:51 ` Andrew Morton [this message]
2002-05-21 17:53   ` Christoph Hellwig
2002-05-21 18:27     ` Andrew Morton
2002-05-21 21:54       ` Martin J. Bligh
2002-05-22  3:53       ` Daniel Phillips

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=3CEA8917.7A52176C@zip.com.au \
    --to=akpm@zip.com.au \
    --cc=hch@infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.