x86/msr: Add wrmsr_notrace()
authorWanpeng Li <wanpeng.li@hotmail.com>
Mon, 7 Nov 2016 03:13:39 +0000 (11:13 +0800)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 9 Nov 2016 21:03:14 +0000 (22:03 +0100)
commitb2c5ea4f759190ee9f75687a00035c1a66d0d743
tree330b4c080ae19d1fd6578429d5d5fec64b875340
parentd2d9c4a3d01c20f936f88e0c2793945e6632dab6
x86/msr: Add wrmsr_notrace()

Required to remove the extra irq_enter()/irq_exit() in
smp_reschedule_interrupt().

Suggested-by: Peter Zijlstra <peterz@infradead.org>
Suggested-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Wanpeng Li <wanpeng.li@hotmail.com>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Borislav Petkov <bp@alien8.de>
Cc: kvm@vger.kernel.org
Cc: Mike Galbraith <efault@gmx.de>
Link: http://lkml.kernel.org/r/1478488420-5982-2-git-send-email-wanpeng.li@hotmail.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/include/asm/msr.h