]> git.hungrycats.org Git - linux/commit
[PATCH] sched: add CPU_DOWN_PREPARE notifier
authorNick Piggin <nickpiggin@yahoo.com.au>
Mon, 18 Oct 2004 16:08:34 +0000 (09:08 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Mon, 18 Oct 2004 16:08:34 +0000 (09:08 -0700)
commitd13d28de21d913aacd3c91e76e307fa2eb7835d8
treecd2839bf45795524088b38888039a1f67ce37b54
parente4dbd222c7ae76cfd0cd68196fa9574322c3c3bf
[PATCH] sched: add CPU_DOWN_PREPARE notifier

Add a CPU_DOWN_PREPARE hotplug CPU notifier.  This is needed so we can dettach
all sched-domains before a CPU goes down, thus we can build domains from
online cpumasks, and not have to check for the possibility of a CPU coming up
or going down.

Signed-off-by: Nick Piggin <nickpiggin@yahoo.com.au>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/linux/notifier.h
kernel/cpu.c