diff options
author | Peter Zijlstra (Intel) <[email protected]> | 2016-03-10 12:54:08 +0100 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2016-05-06 14:58:22 +0200 |
commit | e9d867a67fd03ccc07248ca4e9c2f74fed494d5b (patch) | |
tree | bd1e01ee5b5581203d3fa8397fd863c400cea2bc /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 04974df8049fc4240d22759a91e035082ccd18b4 (diff) |
sched: Allow per-cpu kernel threads to run on online && !active
In order to enable symmetric hotplug, we must mirror the online &&
!active state of cpu-down on the cpu-up side.
However, to retain sanity, limit this state to per-cpu kthreads.
Aside from the change to set_cpus_allowed_ptr(), which allow moving
the per-cpu kthreads on, the other critical piece is the cpu selection
for pinned tasks in select_task_rq(). This avoids dropping into
select_fallback_rq().
select_fallback_rq() cannot be allowed to select !active cpus because
its used to migrate user tasks away. And we do not want to move user
tasks onto cpus that are in transition.
Requested-by: Thomas Gleixner <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Tested-by: Thomas Gleixner <[email protected]>
Cc: Lai Jiangshan <[email protected]>
Cc: Jan H. Schönherr <[email protected]>
Cc: Oleg Nesterov <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions