xen/events: avoid handling the same event on two cpus at the same time
When changing the cpu affinity of an event it can happen today that (with some unlucky timing) the same event will be handled on the old and the new cpu at the same time. Avoid that by adding an "event active" flag to the per-event data and call the handler only if this flag isn't set. Cc: stable@vger.kernel.org Reported-by: Julien Grall <julien@xen.org> Signed-off-by: Juergen Gross <jgross@suse.com> Reviewed-by: Julien Grall <jgrall@amazon.com> Link: https://lore.kernel.org/r/20210306161833.4552-4-jgross@suse.com Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
parent
25da4618
-
mentioned in commit 97b20ecf
-
mentioned in commit d8887e85
-
mentioned in commit 3bc0f698
-
mentioned in commit 959b2396
-
mentioned in commit f67e5243
-
mentioned in commit b802b6ef
-
mentioned in commit a9d294f7
-
mentioned in commit c75310b5
-
mentioned in commit cda326e5
-
mentioned in commit 47879175
-
mentioned in commit 01df0e31
-
mentioned in commit 064b57a8
-
mentioned in commit d2f8a8a0
Please register or sign in to comment