diff options
| author | Sean Christopherson <seanjc@google.com> | 2026-06-30 15:56:09 -0700 |
|---|---|---|
| committer | Sean Christopherson <seanjc@google.com> | 2026-07-08 13:41:08 -0700 |
| commit | b6de8bfdab32a031431149fe4781dcaab0a42894 (patch) | |
| tree | 9f911b0eecf32958f082f7b223ac73f85e3c7d54 /tools/perf/scripts/python/task-analyzer.py | |
| parent | d151ca6e1289ce84f67f4bc0d9de4edeca237306 (diff) | |
KVM: x86/hyperv: Check for NULL vCPU Hyper-V object in kvm_hv_get_tlb_flush_fifo()
Check for a NULL Hyper-V object in kvm_hv_get_tlb_flush_fifo() instead of
relying on the caller to do so. This will allow fixing a cross-vCPU race
where KVM can access a vCPU's FIFO before it's fully initialized, without
having to jump through too many cognitive hoops to reason about the
correctness of the logic.
Ignoring changes in ordering that only affect the aforementioned race, no
functional change intended.
Reviewed-by: Philippe Mathieu-Daudé <philmd@oss.qualcomm.com>
Link: https://patch.msgid.link/20260630225619.511632-3-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions
