Todd Kjos
669d93f855
Revert "sched/core: Prevent race condition between cpuset and __sched_setscheduler()"
...
This reverts commit 710da3c8ea .
When changing a thread's scheduling priority, binder calls
sched_setscheduler_nocheck() while holding the node lock and
proc inner lock. This was safe until v5.3 when this change was
introduced where cpuset_read_lock() is called in this path
which can sleep.
This patch was introduced to fix a possible accounting error
in sched deadline (potential oversell of CPU bandwidth) due
to a race condition between cpusets and __sched_setscheduler().
This is not an issue for Android.
This should be fixed in the binder driver, but that may take
some time.
Bug: 151861772
Change-Id: Ica1ef71b3cdcdc509b341ea1b57c41f8ee73794a
Signed-off-by: Todd Kjos <[email protected] >
2020-03-30 04:49:04 +00:00
..
autogroup.c
sched/autogroup: Make autogroup_path() always available
2019-06-24 19:23:40 +02:00
autogroup.h
sched/headers: Simplify and clean up header usage in the scheduler
2018-03-04 12:39:29 +01:00
clock.c
treewide: Add SPDX license identifier for missed files
2019-05-21 10:50:45 +02:00
completion.c
sched/Documentation: Update wake_up() & co. memory-barrier guarantees
2018-07-17 09:30:34 +02:00
core.c
Revert "sched/core: Prevent race condition between cpuset and __sched_setscheduler()"
2020-03-30 04:49:04 +00:00
cpuacct.c
sched/headers: Simplify and clean up header usage in the scheduler
2018-03-04 12:39:29 +01:00
cpudeadline.c
Linux 5.2-rc5
2019-06-17 12:12:27 +02:00
cpudeadline.h
sched/headers: Simplify and clean up header usage in the scheduler
2018-03-04 12:39:29 +01:00
cpufreq.c
cpufreq: Avoid leaving stale IRQ work items during CPU offline
2019-12-31 16:46:06 +01:00
cpufreq_schedutil.c
UPSTREAM: sched/uclamp: Rename uclamp_util_with() into uclamp_rq_util_with()
2020-02-01 14:35:36 +00:00
cpupri.c
UPSTREAM: sched/rt: Make RT capacity-aware
2020-02-01 14:36:45 +00:00
cpupri.h
UPSTREAM: sched/rt: Make RT capacity-aware
2020-02-01 14:36:45 +00:00
cputime.c
Linux 5.4-rc3
2019-10-17 05:28:13 -07:00
deadline.c
sched/core: Further clarify sched_class::set_next_task()
2020-01-26 10:01:03 +01:00
debug.c
Linux 5.2-rc6
2019-06-24 19:19:53 +02:00
fair.c
This is the 5.4.24 stable release
2020-03-05 17:42:40 +01:00
features.h
sched/fair: Replace source_load() & target_load() with weighted_cpuload()
2019-06-03 11:49:39 +02:00
idle.c
sched/core: Further clarify sched_class::set_next_task()
2020-01-26 10:01:03 +01:00
isolation.c
sched/isolation: Prefer housekeeping CPU in local node
2019-07-25 15:51:55 +02:00
loadavg.c
timers/nohz: Update NOHZ load in remote tick
2020-03-05 16:43:36 +01:00
Makefile
psi: pressure stall information for CPU, memory, and IO
2018-10-26 16:26:32 -07:00
membarrier.c
UPSTREAM: fix "sched/membarrier: Fix p->mm->membarrier_state racy load"
2019-10-02 19:13:20 +02:00
pelt.c
sched/debug: Add new tracepoint to track PELT at se level
2019-06-24 19:23:42 +02:00
pelt.h
sched/topology: Remove unused 'sd' parameter from arch_scale_cpu_capacity()
2019-06-24 19:23:39 +02:00
psi.c
sched/psi: Fix OOB write when writing 0 bytes to PSI files
2020-02-28 17:22:21 +01:00
rt.c
UPSTREAM: sched/rt: Make RT capacity-aware
2020-02-01 14:36:45 +00:00
sched-pelt.h
sched/fair: Fix "runnable_avg_yN_inv" not used warnings
2019-06-17 12:15:58 +02:00
sched.h
UPSTREAM: sched/core: Remove for_each_lower_domain()
2020-02-20 11:32:35 +00:00
stats.c
proc: introduce proc_create_seq{,_data}
2018-05-16 07:23:35 +02:00
stats.h
sched/stats: Fix unlikely() use of sched_info_on()
2019-07-25 15:51:55 +02:00
stop_task.c
sched/core: Further clarify sched_class::set_next_task()
2020-01-26 10:01:03 +01:00
swait.c
kernel/sched/: remove caller signal_pending branch predictions
2019-01-04 13:13:48 -08:00
topology.c
This is the 5.4.22 stable release
2020-02-24 09:16:10 +01:00
wait.c
sched/wait: Deduplicate code with do-while
2019-06-24 19:23:40 +02:00
wait_bit.c
treewide: Add SPDX license identifier for missed files
2019-05-21 10:50:45 +02:00