mm: move page mapped accounting to the node
[deliverable/linux.git] / mm / vmscan.c
index 9f6e673efba7a95d8313037d7fcba9e6a6afe349..90b46651d1582f1fdd6cfcf7f52035a3cb4fd099 100644 (file)
@@ -3589,7 +3589,7 @@ int sysctl_min_slab_ratio = 5;
 
 static inline unsigned long zone_unmapped_file_pages(struct zone *zone)
 {
-       unsigned long file_mapped = zone_page_state(zone, NR_FILE_MAPPED);
+       unsigned long file_mapped = node_page_state(zone->zone_pgdat, NR_FILE_MAPPED);
        unsigned long file_lru = node_page_state(zone->zone_pgdat, NR_INACTIVE_FILE) +
                node_page_state(zone->zone_pgdat, NR_ACTIVE_FILE);
 
This page took 0.024298 seconds and 5 git commands to generate.