diff options
author | Sean Christopherson <seanjc@google.com> | 2022-11-30 23:09:27 +0000 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-12-29 15:48:33 -0500 |
commit | 2c106f29004d2a6dbdc375cd9c0c8f981f475f47 (patch) | |
tree | 5b774ab33f109c776926b0f5a4792190292c4f20 /fs/unicode/utf8n.h | |
parent | e4aa7f88af1a123863530af4a238ce64ec8fad5a (diff) | |
download | linux-2c106f29004d2a6dbdc375cd9c0c8f981f475f47.tar.gz linux-2c106f29004d2a6dbdc375cd9c0c8f981f475f47.tar.bz2 linux-2c106f29004d2a6dbdc375cd9c0c8f981f475f47.zip |
KVM: Ensure CPU is stable during low level hardware enable/disable
Use the non-raw smp_processor_id() in the low hardware enable/disable
helpers as KVM absolutely relies on the CPU being stable, e.g. KVM would
end up with incorrect state if the task were migrated between accessing
cpus_hardware_enabled and actually enabling/disabling hardware.
Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20221130230934.1014142-44-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'fs/unicode/utf8n.h')
0 files changed, 0 insertions, 0 deletions