Skip to content
Commit 086c9855 authored by Alex Shi's avatar Alex Shi Committed by Avi Kivity
Browse files

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: default avatarAlex Shi <alex.shi@intel.com>
Signed-off-by: default avatarAvi Kivity <avi@redhat.com>
parent e37fa785
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment