linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] mm: Fix N_CPU handlings of node_states
@ 2013-10-15 17:12 Toshi Kani
  2013-10-15 17:12 ` [PATCH 1/2] mm: Set N_CPU to node_states during boot Toshi Kani
  2013-10-15 17:12 ` [PATCH 2/2] mm: Clear N_CPU from node_states at CPU offline Toshi Kani
  0 siblings, 2 replies; 6+ messages in thread
From: Toshi Kani @ 2013-10-15 17:12 UTC (permalink / raw)
  To: akpm; +Cc: linux-mm, linux-kernel, cl, isimatu.yasuaki, Toshi Kani

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@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-10-15 17:29 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-15 17:12 [PATCH 0/2] mm: Fix N_CPU handlings of node_states Toshi Kani
2013-10-15 17:12 ` [PATCH 1/2] mm: Set N_CPU to node_states during boot Toshi Kani
2013-10-15 17:22   ` Christoph Lameter
2013-10-15 17:25     ` Toshi Kani
2013-10-15 17:12 ` [PATCH 2/2] mm: Clear N_CPU from node_states at CPU offline Toshi Kani
2013-10-15 17:23   ` Christoph Lameter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox