Re: [PATCH 1/6] mm: scalable bdi statistics counters.

From: Peter Zijlstra
Date: Wed Apr 04 2007 - 05:25:57 EST


On Wed, 2007-04-04 at 11:20 +0200, Miklos Szeredi wrote:
> > Provide scalable per backing_dev_info statistics counters modeled on the ZVC
> > code.
>
> Why do we need global_bdi_stat()? It should give approximately the
> same numbers as global_page_state(), no?

For those counters that are shared, yes. However I find it not obvious
that all BDI counter will always be mirrored in the page stats, and I
actually use it in 6/6, which introduces counters that are not mirrored
in the page stats.



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/