sched: Miscellaneous RT related tweaks
Status from this message: The following commit has been merged into the sched/core branch of tip:
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | sched: Limit the number of task migrations per batch on RTkernel/ | +4 | 0 replies | |
| 2/5 | sched: Disable TTWU_QUEUE on RTkernel/ | +5 | 0 replies | |
| 3/5 | sched: Move kprobes cleanup out of finish_task_switch()kernel/ kernel/ kernel/ | +6 | 0 replies | |
| 4/5 | sched: Delay task stack freeing on RTkernel/ kernel/ kernel/ | +15 | 6 replies | |
| 5/5 | sched: Move mmdrop to RCU on RTinclude/ include/ kernel/ +1 more | +38 | 2 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [patch 0/5] sched: Miscellaneous RT related tweaks
RT enabled kernels have a few issues with the inner workings of the scheduler:
- The remote TTWU_QUEUE mechanism leads to 5x larger maximum latencies
- The batched migration limit of 32 tasks causes large latencies
- The cleanup of kprobes, vmapped stacks of dead tasks and mmdrop() are latency sources and eventually calling into code pathes which take regular spinlocks from within the scheduler core which has preemption disabled.
The following series cleans this up. It is also available from git:
git://git.kernel.org/pub/scm/linux/kernel/git/tglx/devel.git sched
applied on top of the previous might_sleep() cleanups:
https://lore.kernel.org/r/[email protected]
Thanks,
tglx
--- include/linux/mm_types.h | 4 ++++ include/linux/sched/mm.h | 20 ++++++++++++++++++++ kernel/exit.c | 7 +++++++ kernel/fork.c | 18 +++++++++++++++++- kernel/kprobes.c | 8 ++++---- kernel/sched/core.c | 16 +++++++++------- kernel/sched/features.h | 5 +++++ 7 files changed, 66 insertions(+), 12 deletions(-)