Skip to content

sched,rcu,context_tracking,livepatch: Improve livepatch task transitions for idle and NOHZ_FULL

Peter Zijlstra live-patching lkml 2 versions – Applied

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 · linked by author and title

  1. v2 Latest11 patches 39 repliesApplied
  2. v1 RFC7 patches 18 repliesSuperseded

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/11sched: Improve try_invoke_on_locked_down_task()kernel/sched/core.c+39 -240 replies
2/11sched,rcu: Rework try_invoke_on_locked_down_task()include/linux/wait.h kernel/rcu/tasks.h kernel/rcu/tree_stall.h +1 more+15 -140 replies
3/11sched,livepatch: Use task_call_func()kernel/livepatch/transition.c+44 -463 replies
4/11sched: Simplify wake_up_*idle*()kernel/sched/core.c kernel/smp.c+8 -129 replies
5/11sched,livepatch: Use wake_up_if_idle()kernel/livepatch/transition.c+4 -16 replies
6/11context_tracking: Prefix user_{enter,exit}*()arch/Kconfig arch/arm64/kernel/entry-common.c arch/mips/kernel/ptrace.c +12 more+40 -400 replies
7/11context_tracking: Add an atomic sequence/state countinclude/linux/context_tracking.h include/linux/context_tracking_state.h kernel/context_tracking.c +1 more+158 -00 replies
8/11context_tracking,rcu: Replace RCU dynticks counter with context_trackinginclude/linux/context_tracking.h kernel/context_tracking.c kernel/rcu/tree.c +1 more+33 -897 replies
9/11context_tracking,livepatch: Dont disturb NOHZ_FULLinclude/linux/context_tracking.h include/linux/livepatch.h kernel/context_tracking.c +1 more+33 -95 replies
10/11livepatch: Remove klp_synchronize_transition()kernel/livepatch/transition.c+3 -291 reply
11/11context_tracking,x86: Fix text_poke_sync() vs NOHZ_FULLarch/x86/include/asm/sync_core.h arch/x86/kernel/alternative.c include/linux/context_tracking.h +1 more+22 -17 replies

Reviews trailers per patch

4 of 11 patches have a Reviewed-by or Acked-by.

PatchPaul E. McKenneyPetr MladekMiroslav BenesVasily Gorbik
1/11
2/11A-b
3/11R-b T-b A-b
4/11
5/11R-b T-b A-b A-b T-b
6/11
7/11
8/11
9/11
10/11R-b
11/11

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

Read the v2 thread

Cover letter [PATCH v2 00/11] sched,rcu,context_tracking,livepatch: Improve livepatch task transitions for idle and NOHZ_FULL

Hi,

One series in two parts; the first part (patches 1-5) should be in reasonable shape and ought to fix the original issues that got this whole thing started.

The second part (patches 6-11) are still marked RFC and do scary things to try and make NOHZ_FULL work better.

Please consider..

PS. Paul, I did do break RCU a bit and I'm not sure about the best way to put it back together, please see patch 8 for details.