diff options
author | Juergen Gross <[email protected]> | 2021-03-06 17:18:33 +0100 |
---|---|---|
committer | Boris Ostrovsky <[email protected]> | 2021-03-10 16:39:29 -0600 |
commit | b6622798bc50b625a1e62f82c7190df40c1f5b21 (patch) | |
tree | 7c7edc11bd65699263aa50217accb276b9c467e6 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 25da4618af240fbec6112401498301a6f2bc9702 (diff) |
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: [email protected]
Reported-by: Julien Grall <[email protected]>
Signed-off-by: Juergen Gross <[email protected]>
Reviewed-by: Julien Grall <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Boris Ostrovsky <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions