Skip to content

sched: Reduce runqueue lock contention -v5

Peter Zijlstra lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest22 patches 11 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/22sched: Provide scheduler_ipi() callback in response to smp_send_reschedule()arch/alpha/kernel/smp.c arch/arm/kernel/smp.c arch/blackfin/mach-common/smp.c +23 more+60 -496 replies
2/22sched: Always provide p->on_cpuinclude/linux/sched.h kernel/sched.c+30 -200 replies
3/22mutex: Use p->on_cpu for the adaptive spininclude/linux/mutex.h include/linux/sched.h kernel/mutex-debug.c +4 more+39 -560 replies
4/22sched: Change the ttwu success detailskernel/sched.c+8 -100 replies
5/22sched: Clean up ttwu statskernel/sched.c+34 -350 replies
6/22sched: Provide p->on_rqinclude/linux/sched.h kernel/sched.c kernel/sched_debug.c +2 more+29 -280 replies
7/22sched: Serialize p->cpus_allowed and ttwu() using p->pi_lockkernel/sched.c+16 -210 replies
8/22sched: Drop the rq argument to sched_class::select_task_rq()include/linux/sched.h kernel/sched.c kernel/sched_fair.c +3 more+41 -270 replies
9/22sched: Remove rq argument to sched_class::task_waking()include/linux/sched.h kernel/sched.c kernel/sched_fair.c+11 -50 replies
10/22sched: Deal with non-atomic min_vruntime reads on 32bitskernel/sched.c kernel/sched_fair.c+20 -20 replies
11/22sched: Delay task_contributes_to_load()include/linux/sched.h kernel/sched.c+5 -120 replies
12/22sched: Also serialize ttwu_local() with p->pi_lockkernel/sched.c+17 -110 replies
13/22sched: Add p->pi_lock to task_rq_lock()kernel/sched.c+47 -560 replies
14/22sched: Drop rq->lock from first part of wake_up_new_task()kernel/sched.c+3 -140 replies
15/22sched: Drop rq->lock from sched_exec()kernel/sched.c+5 -100 replies
16/22sched: Remove rq->lock from the first half of ttwu()kernel/sched.c+35 -280 replies
17/22sched: Remove rq argument from ttwu_stat()kernel/sched.c+5 -30 replies
18/22sched: Rename ttwu_post_activationkernel/sched.c+6 -30 replies
19/22sched: Restructure ttwu some morekernel/sched.c+55 -280 replies
20/22sched: Move the second half of ttwu() to the remote cpuinclude/linux/sched.h kernel/sched.c kernel/sched_features.h+60 -12 replies
21/22sched: Remove need_migrate_task()kernel/sched.c+1 -160 replies
22/22sched: Remove TASK_WAKINGfs/proc/array.c include/linux/sched.h kernel/sched.c+4 -62 replies

Reviews trailers per patch

1 of 22 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchThomas GleixnerRussell KingMartin SchwidefskyChris MetcalfJesper NilssonBenjamin HerrenschmidtFrank Rowand
SeriesR-b
1/22A-b A-b A-b A-b A-b
2/22
3/22Requested-by
4/22
5/22
6/22
7/22
8/22
9/22
10/22
11/22
12/22
13/22
14/22
15/22
16/22
17/22
18/22
19/22
20/22
21/22
22/22

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 7 reviewers.

Read the v1 thread

Cover letter [PATCH 00/22] sched: Reduce runqueue lock contention -v5

This patch series aims to optimize remote wakeups by moving most of the work of the wakeup to the remote cpu and avoid bouncing runqueue data structures where possible.

If there are no more 'fun' bits left I'll queue this work for .40.