From: Avi Kivity Date: Thu, 24 May 2007 09:23:10 +0000 (+0300) Subject: HOTPLUG: Add CPU_DYING notifier X-Git-Tag: v2.6.23-rc1~520^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=db912f963909b3cbc3a059b7528f6a1a1eb6ffae;p=pandora-kernel.git HOTPLUG: Add CPU_DYING notifier KVM wants a notification when a cpu is about to die, so it can disable hardware extensions, but at a time when user processes cannot be scheduled on the cpu, so it doesn't try to use virtualization extensions after they have been disabled. This adds a CPU_DYING notification. The notification is called in atomic context on the doomed cpu. Signed-off-by: Avi Kivity --- Reading git-diff-tree failed