Re: zoned VM stats: Add NR_ANON

From: Christoph Lameter
Date: Sat Jun 10 2006 - 01:02:00 EST


On Sat, 10 Jun 2006, KAMEZAWA Hiroyuki wrote:

> Can this accounting catch page migration ? TBD ?
> Now all coutners are counted per zone, migration should be cared.

Page migration removes the reverse mapping for the old page and installs
the mappings to the new page later. This means that the counters are taken
care of.

try_to_unmap_one removes the mapping and decrements the zone counter.

remove_migration_pte adds the mapping to the new page and increments the
relevant zone counter.

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