diff options
| author | Vikram Mulukutla <markivx@codeaurora.org> | 2016-01-06 16:18:02 -0800 |
|---|---|---|
| committer | Kyle Yan <kyan@codeaurora.org> | 2016-06-22 14:44:57 -0700 |
| commit | 3026cbf1d0486b9d56ce512c2d5762c08e27a125 (patch) | |
| tree | 1a4d0e5989fd115841fdc81c8ef9acc163783b53 /tools/perf/scripts/python/syscall-counts.py | |
| parent | 15dd3b14deac7ee565e3eb5a3e40d35a790dc92c (diff) | |
sched: core: Fix possible hotplug race in set_cpus_allowed_ptr
Since a CPU may go offline after cpu_active_mask is used
to query active CPUs, set_cpus_allowed_ptr might inadverntently
pass an invalid cpu number to move_queued_task.
Fix this by ensuring that the cpumask op that uses cpu_active_mask
checks the return value.
CRs-Fixed: 1029014
Change-Id: Id43a629b40b72cc47773e4027d30953b3a94058d
Signed-off-by: Vikram Mulukutla <markivx@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
