From: Avi Kivity Date: Sat, 19 Sep 2009 06:40:22 +0000 (+0300) Subject: core, x86: Add user return notifiers X-Git-Tag: v2.6.33-rc1~376^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7c68af6e32c73992bad24107311f3433c89016e2;p=pandora-kernel.git 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 LKML-Reference: <1253342422-13811-1-git-send-email-avi@redhat.com> Signed-off-by: H. Peter Anvin --- Reading git-diff-tree failed