diff options
| author | Carlos López <clopez@suse.de> | 2026-01-22 12:41:31 +0100 |
|---|---|---|
| committer | Wei Liu <wei.liu@kernel.org> | 2026-02-04 06:36:19 +0000 |
| commit | 2b4246153e2184e3a3b4edc8cc35337d7a2455a6 (patch) | |
| tree | a482f1b0767d7b3d88c59777726e3704d72d2438 /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git | |
| parent | 5ed8cbcaccc0e0ed90e03dac153d01d5b13f6724 (diff) | |
mshv: clear eventfd counter on irqfd shutdown
While unhooking from the irqfd waitqueue, clear the internal eventfd
counter by using eventfd_ctx_remove_wait_queue() instead of
remove_wait_queue(), preventing potential spurious interrupts. This
removes the need to store a pointer into the workqueue, as the eventfd
already keeps track of it.
This mimicks what other similar subsystems do on their equivalent paths
with their irqfds (KVM, Xen, ACRN support, etc).
Signed-off-by: Carlos López <clopez@suse.de>
Signed-off-by: Wei Liu <wei.liu@kernel.org>
Diffstat (limited to 'tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
