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

From: Christoph Hellwig (hch@infradead.org)
Date: Tue May 21 2002 - 12:53:40 EST


On Tue, May 21, 2002 at 10:51:19AM -0700, Andrew Morton wrote:
> 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.

Yho sais all blockdev mapping have to stay ZONE_NORMAL? If filesystems
access them without buffer_heads there is no reason to not put the
pages in high memory. I also remember vaguely that you intend to move
buffer_heads to high memory in the longer term..

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

*nod*
-
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