KVM: use this_cpu_xxx replace percpu_xxx funcs
authorAlex,Shi <alex.shi@intel.com>
Thu, 20 Oct 2011 07:34:01 +0000 (15:34 +0800)
committerAvi Kivity <avi@redhat.com>
Tue, 27 Dec 2011 09:22:13 +0000 (11:22 +0200)
commit086c9855019935854311b477b33498a6ea357ef6
treedd08778f0d85bb2ec8198a8d2704b09555c64e0d
parente37fa7853c276403da2fea8792c579e8bfd75042
KVM: use this_cpu_xxx replace percpu_xxx funcs

percpu_xxx funcs are duplicated with this_cpu_xxx funcs, so replace them
for further code clean up.

And in preempt safe scenario, __this_cpu_xxx funcs has a bit better
performance since __this_cpu_xxx has no redundant preempt_disable()

Signed-off-by: Alex Shi <alex.shi@intel.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/x86.c