Re: [PATCH] buffermem_pages removal (5/5)

Andrew Morton (
Tue, 21 May 2002 10:51:19 -0700

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.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at