Skip to content
Commit b2fb87d3 authored by Juri Lelli's avatar Juri Lelli Committed by Dietmar Eggemann
Browse files

FIXUP: sched/cpufreq_sched: fix hotplug by implementing init/exit



There is a race condition between cpu hotplug and gov_sched stop path
that can result in a OOPS. Also, gov_sched is still lacking proper
implementation for POLICY_{INIT,EXIT} events.

Fix the bug by implementing such methods and by ensuring gov_sched has
always a valid reference to gd->task (via {get,put}_task_struct()).

Signed-off-by: default avatarJuri Lelli <juri.lelli@arm.com>
parent 3ff6ba04
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment