android_kernel_oneplus_msm8998/kernel/sched
Junjie Wu efa673322f 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>
2016-03-23 21:25:17 -07:00
..
auto_group.c sched, timer: Convert usages of ACCESS_ONCE() in the scheduler to READ_ONCE()/WRITE_ONCE() 2015-05-08 12:11:32 +02:00
auto_group.h sched, timer: Convert usages of ACCESS_ONCE() in the scheduler to READ_ONCE()/WRITE_ONCE() 2015-05-08 12:11:32 +02:00
clock.c treewide: Remove old email address 2015-11-23 09:44:58 +01:00
completion.c sched/completion: Serialize completion_done() with complete() 2015-02-18 14:27:40 +01:00
core.c sched: Provide a wake up API without sending freq notifications 2016-03-23 21:25:17 -07:00
cpuacct.c cgroup: rename cgroup_subsys->base_cftypes to ->legacy_cftypes 2014-07-15 11:05:09 -04:00
cpuacct.h sched/cpuacct: Initialize root cpuacct earlier 2013-04-10 13:54:20 +02:00
cpudeadline.c sched/deadline: Unify dl_time_before() usage 2015-09-23 09:51:25 +02:00
cpudeadline.h sched/deadline: Unify dl_time_before() usage 2015-09-23 09:51:25 +02:00
cpupri.c Merge commit '3cf2f34' into sched/core, to fix build error 2014-06-12 13:46:37 +02:00
cpupri.h sched/cpupri: Remove unnecessary definitions in cpupri.h 2014-11-16 10:58:59 +01:00
cputime.c sched/cputime: fix a deadlock on 32bit systems 2016-03-23 20:02:39 -07:00
deadline.c sched: clean up fixup_hmp_sched_stats() 2016-03-23 20:02:30 -07:00
debug.c sched: Introduce the concept CPU clusters in the scheduler 2016-03-23 21:25:10 -07:00
fair.c sched: Take downmigrate threshold into consideration 2016-03-23 21:25:16 -07:00
features.h sched: Rework energy aware scheduling 2016-03-23 20:02:18 -07:00
idle.c vmstat: make vmstat_updater deferrable again and shut down on idle 2016-03-23 21:22:14 -07:00
idle_task.c sched: avoid stale cumulative_runnable_avg HMP statistics 2016-03-23 20:02:16 -07:00
loadavg.c sched: Move the loadavg code to a more obvious location 2015-05-08 12:04:12 +02:00
Makefile sched_avg: add run queue averaging 2016-03-23 20:01:32 -07:00
rt.c sched: Provide a facility to restrict RT tasks to lower power cluster 2016-03-23 21:25:15 -07:00
sched.h sched: Provide a wake up API without sending freq notifications 2016-03-23 21:25:17 -07:00
sched_avg.c sched: Keep track of average nr_big_tasks 2016-03-23 20:01:42 -07:00
stats.c sched: use %*pb[l] to print bitmaps including cpumasks and nodemasks 2015-02-13 21:21:37 -08:00
stats.h sched/stat: Simplify the sched_info accounting dependency 2015-07-04 10:04:30 +02:00
stop_task.c sched: clean up fixup_hmp_sched_stats() 2016-03-23 20:02:30 -07:00
wait.c sched/wait: Fix the signal handling fix 2015-12-13 14:30:59 -08:00