diff options
author | Avi Kivity <avi@redhat.com> | 2009-09-19 09:40:22 +0300 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2009-10-01 12:12:18 -0700 |
commit | 7c68af6e32c73992bad24107311f3433c89016e2 (patch) | |
tree | 9046ac5339f944e8ddccd34be226790b953dda61 /firmware/emi62 | |
parent | 817b33d38f81c8736d39283c35c886ae4668f1af (diff) | |
download | op-kernel-dev-7c68af6e32c73992bad24107311f3433c89016e2.zip op-kernel-dev-7c68af6e32c73992bad24107311f3433c89016e2.tar.gz |
core, x86: Add user return notifiers
Add a general per-cpu notifier that is called whenever the kernel is
about to return to userspace. The notifier uses a thread_info flag
and existing checks, so there is no impact on user return or context
switch fast paths.
This will be used initially to speed up KVM task switching by lazily
updating MSRs.
Signed-off-by: Avi Kivity <avi@redhat.com>
LKML-Reference: <1253342422-13811-1-git-send-email-avi@redhat.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'firmware/emi62')
0 files changed, 0 insertions, 0 deletions