diff options
author | Tiejun Chen <tiejun.chen@intel.com> | 2014-09-26 10:00:04 +0400 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2014-11-03 14:07:33 +0300 |
commit | c6338ce494456ed9c92ef10f63c0a8408bfeac6d (patch) | |
tree | 0ed47a0d66df4ea344cc9c96760a816b3c75069e /Documentation/virtual/kvm/devices/vm.txt | |
parent | f30ebc312ca9def25650b4e1d01cdb425c310dca (diff) | |
download | linux-c6338ce494456ed9c92ef10f63c0a8408bfeac6d.tar.xz |
kvm: kvmclock: use get_cpu() and put_cpu()
We can use get_cpu() and put_cpu() to replace
preempt_disable()/cpu = smp_processor_id() and
preempt_enable() for slightly better code.
Signed-off-by: Tiejun Chen <tiejun.chen@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'Documentation/virtual/kvm/devices/vm.txt')
0 files changed, 0 insertions, 0 deletions