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

From: Andrew Morton (akpm@zip.com.au)
Date: Tue May 21 2002 - 12:51:19 EST


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 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/



This archive was generated by hypermail 2b29 : Thu May 23 2002 - 22:00:22 EST