summaryrefslogtreecommitdiff
path: root/kernel/sched/stop_task.c
diff options
context:
space:
mode:
authorJunjie Wu <junjiew@codeaurora.org>2016-01-05 10:53:30 -0800
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-23 21:25:17 -0700
commitefa673322fd6917acb69361fc01f746a13b3fcde (patch)
tree870145507079abe1e9ffba81314888533c2b7745 /kernel/sched/stop_task.c
parent71a8c392b7f024f8e1ce08ec1401c321f7323cb3 (diff)
sched: Provide a wake up API without sending freq notifications
Each time a task wakes up, scheduler evaluates its load and notifies governor if the resulting frequency of destination CPU is larger than a threshold. However, some governor wakes up a separate task that handles frequency change, which again calls wake_up_process(). This is dangerous because if the task being woken up meets the threshold and ends up being moved around, there is a potential for endless recursive notifications. Introduce a new API for waking up a task without triggering frequency notification. Change-Id: I24261af81b7dc410c7fb01eaa90920b8d66fbd2a Signed-off-by: Junjie Wu <junjiew@codeaurora.org>
Diffstat (limited to 'kernel/sched/stop_task.c')
0 files changed, 0 insertions, 0 deletions