summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2025-05-22 16:52:14 -0700
committerSean Christopherson <seanjc@google.com>2025-06-23 09:50:55 -0700
commit5f8ca05ea99183ab2b69c7fd9617961211d194e7 (patch)
treeb4c0974daf6c790d516a8a73f595b560b8a5b08e /tools/perf/scripts/python/syscall-counts.py
parentb5c543518ae9df8e99c63cd08a8b573f0141b31a (diff)
KVM: Add irqfd to KVM's list via the vfs_poll() callback
Add the irqfd structure to KVM's list of irqfds in kvm_irqfd_register(), i.e. via the vfs_poll() callback. This will allow taking irqfds.lock across the entire registration sequence (add to waitqueue, add to list), and more importantly will allow inserting into KVM's list if and only if adding to the waitqueue succeeds (spoiler alert), without needing to juggle return codes in weird ways. Tested-by: K Prateek Nayak <kprateek.nayak@amd.com> Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://lore.kernel.org/r/20250522235223.3178519-5-seanjc@google.com Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions