diff options
author | Juergen Gross <[email protected]> | 2021-03-06 17:18:31 +0100 |
---|---|---|
committer | Boris Ostrovsky <[email protected]> | 2021-03-10 07:25:18 -0600 |
commit | 9e77d96b8e2724ed00380189f7b0ded61113b39f (patch) | |
tree | 1d305c89d12cdaf042bc381fb18f1c6217867e0e /scripts/gdb/linux/tasks.py | |
parent | 882213990d32fd224340a4533f6318dd152be4b2 (diff) |
xen/events: reset affinity of 2-level event when tearing it down
When creating a new event channel with 2-level events the affinity
needs to be reset initially in order to avoid using an old affinity
from earlier usage of the event channel port. So when tearing an event
channel down reset all affinity bits.
The same applies to the affinity when onlining a vcpu: all old
affinity settings for this vcpu must be reset. As percpu events get
initialized before the percpu event channel hook is called,
resetting of the affinities happens after offlining a vcpu (this is
working, as initial percpu memory is zeroed out).
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 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions