android_kernel_samsung_msm8976/kernel/sched
Tim Chen 41b1d66c35 sched/rt: Reduce rq lock contention by eliminating locking of non-feasible target
commit 80e3d87b2c5582db0ab5e39610ce3707d97ba409 upstream.

This patch adds checks that prevens futile attempts to move rt tasks
to a CPU with active tasks of equal or higher priority.

This reduces run queue lock contention and improves the performance of
a well known OLTP benchmark by 0.7%.

Signed-off-by: Tim Chen <tim.c.chen@linux.intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Shawn Bohrer <sbohrer@rgmadvisors.com>
Cc: Suruchi Kadu <suruchi.a.kadu@intel.com>
Cc: Doug Nelson<doug.nelson@intel.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Link: http://lkml.kernel.org/r/1421430374.2399.27.camel@schen9-desk2.jf.intel.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
2019-07-27 22:11:08 +02:00
..
Makefile sched/deadline: speed up SCHED_DEADLINE pushes with a push-heap 2015-05-19 19:16:03 -07:00
auto_group.c sched/autogroup: Fix possible Spectre-v1 indexing for sched_prio_to_weight[] 2019-07-27 21:52:06 +02:00
auto_group.h
clock.c kernel: use macros from compiler.h instead of __attribute__((...)) 2019-07-27 22:10:27 +02:00
core.c kernel: use macros from compiler.h instead of __attribute__((...)) 2019-07-27 22:10:27 +02:00
cpuacct.c
cpuacct.h
cpudeadline.c sched/deadline: Fix inter- exclusive cpusets migrations 2015-05-19 19:23:16 -07:00
cpudeadline.h sched/deadline: speed up SCHED_DEADLINE pushes with a push-heap 2015-05-19 19:16:03 -07:00
cpupri.c
cpupri.h
cputime.c sched: Change thread_group_cputime() to use for_each_thread() 2019-07-27 22:09:16 +02:00
deadline.c sched/dl: Fix preemption checks 2015-05-19 19:23:18 -07:00
debug.c sched: print_rq(): Don't use tasklist_lock 2019-07-27 22:09:20 +02:00
fair.c sched/fair: Limit sched_cfs_period_timer() loop to avoid hard lockup 2019-07-27 22:10:10 +02:00
features.h Import latest Samsung release 2017-04-18 03:43:52 +02:00
idle_task.c
rt.c sched/rt: Reduce rq lock contention by eliminating locking of non-feasible target 2019-07-27 22:11:08 +02:00
sched.h sched/core: Fix TASK_DEAD race in finish_task_switch() 2019-07-27 22:09:34 +02:00
sched_avg.c sched: Fix integer overflow in sched_update_nr_prod() 2016-09-29 02:12:18 -07:00
stats.c
stats.h sched: Use an accessor to read the rq clock 2015-05-19 19:15:56 -07:00
stop_task.c sched/deadline: Add SCHED_DEADLINE structures & implementation 2015-05-19 19:15:57 -07:00
wait.c sched: Move wait.c into kernel/sched/ 2015-05-19 19:15:46 -07:00