diff options
author | Thomas Gleixner <[email protected]> | 2014-03-04 20:43:40 +0000 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2014-03-12 13:07:41 +0100 |
commit | 753fbd23f5e59ea9dc0cabe0a684d32100a4af02 (patch) | |
tree | 2f82e7b6c8f73369d90476659545493f0d115ed5 /scripts/gdb/linux/tasks.py | |
parent | 421d1563c6620423d23e394711e3f209e585c161 (diff) |
xen: Validate online cpus in set_affinity
The user space interface does not filter out offline cpus. It merily
verifies that the mask contains at least one online cpu. So the
selector in the irq chip implementation needs to make sure to pick
only an online cpu because otherwise:
Offline Core 1
Set affinity to 0xe
Selector will pick first set bit, i.e. core 1
Signed-off-by: Thomas Gleixner <[email protected]>
Reviewed-by: David Vrabel <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Konrad Rzeszutek Wilk <[email protected]>
Cc: Xen <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions