[PATCH 0/2] mm: Fix N_CPU handlings of node_states

From: Toshi Kani
Date: Tue Oct 15 2013 - 13:17:01 EST


node_stats[N_CPU] tracks which nodes have CPUs on the system.
vmstat.c updates this N_CPU information, but it has multiple
issues.

Patch 1/2 changes setup_vmstat() to set up the N_CPU info at
boot. Patch 2/2 changes vmstat_cpuup_callback() to udpate
the N_CPU info at CPU offline.

---
Toshi Kani (2)
mm: Set N_CPU to node_states during boot
mm: Clear N_CPU from node_states at CPU offline

---
mm/vmstat.c | 21 ++++++++++++++++++++-
1 file changed, 20 insertions(+), 1 deletion(-)
--
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/