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/