diff options
author | Avi Kivity <avi@qumranet.com> | 2007-05-24 12:23:10 +0300 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2007-07-16 12:05:49 +0300 |
commit | db912f963909b3cbc3a059b7528f6a1a1eb6ffae (patch) | |
tree | 85d112b2879782fda2b2ca77413ac73361d0d3b0 /kernel/cpuset.c | |
parent | e495606dd09d79f9fa496334ac3958f6ff179d82 (diff) |
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 <avi@qumranet.com>
Diffstat (limited to 'kernel/cpuset.c')
0 files changed, 0 insertions, 0 deletions