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)
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>

No differences found