android_kernel_oneplus_msm8998/kernel/sched
Olav Haugan b29f9a7a84 sched/core: Add protection against null-pointer dereference
p->grp is being accessed outside of lock which can cause null-pointer
dereference. Fix this and also add rcu critical section around access
of this data structure.

CRs-fixed: 985379
Change-Id: Ic82de6ae2821845d704f0ec18046cc6a24f98e39
Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>
[joonwoop@codeaurora.org: fixed conflict in init_new_task_load().]
Signed-off-by: Joonwoo Park <joonwoop@codeaurora.org>
2016-03-23 21:25:21 -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/core: Add protection against null-pointer dereference 2016-03-23 21:25:21 -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: Add separate load tracking histogram to predict loads 2016-03-23 21:25:17 -07:00
debug.c sched: Introduce the concept CPU clusters in the scheduler 2016-03-23 21:25:10 -07:00
fair.c sched/core: Add protection against null-pointer dereference 2016-03-23 21:25:21 -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: Add separate load tracking histogram to predict loads 2016-03-23 21:25:17 -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: let sched_boost take precedence over sched_restrict_cluster_spill 2016-03-23 21:25:18 -07:00
sched.h sched/core: Add protection against null-pointer dereference 2016-03-23 21:25:21 -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: Add separate load tracking histogram to predict loads 2016-03-23 21:25:17 -07:00
wait.c sched/wait: Fix the signal handling fix 2015-12-13 14:30:59 -08:00