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, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>