Skip to content

cleanups and optimizations

Peter Zijlstra lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest15 patches 48 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/15x86, acpi, idle: Restructure the mwait idle routinesarch/x86/include/asm/mwait.h arch/x86/include/asm/processor.h arch/x86/kernel/acpi/cstate.c +4 more+43 -752 replies
2/15sched, preempt: Fixup missed PREEMPT_NEED_RESCHED foldingarch/x86/include/asm/mwait.h include/linux/preempt.h include/linux/sched.h +2 more+42 -100 replies
3/15preempt, locking: Rework local_bh_{dis,en}able()include/linux/bottom_half.h include/linux/hardirq.h include/linux/preempt_mask.h +1 more+36 -330 replies
4/15locking: Optimize lock_bh functionsinclude/linux/preempt_mask.h include/linux/rwlock_api_smp.h include/linux/spinlock_api_smp.h +1 more+34 -210 replies
5/15sched, net: Clean up preempt_enable_no_resched() abusenet/ipv4/tcp.c+2 -20 replies
6/15sched, net: Fixup busy_loop_us_clock()include/net/busy_poll.h+1 -180 replies
7/15sched, thermal: Clean up preempt_enable_no_resched() abusedrivers/thermal/intel_powerclamp.c+1 -10 replies
8/15preempt: Take away preempt_enable_no_resched() from modulesinclude/linux/preempt.h include/linux/uaccess.h+24 -30 replies
9/15x86: Use mul_u64_u32_shr() for native_sched_clock()arch/x86/include/asm/timer.h+3 -40 replies
10/15x86: Move some code aroundarch/x86/include/asm/timer.h arch/x86/kernel/tsc.c+61 -1100 replies
11/15x86: Rewrite cyc2ns to avoid the need to disable IRQsarch/x86/include/asm/timer.h arch/x86/kernel/cpu/perf_event.c arch/x86/kernel/tsc.c+236 -305 replies
12/15sched: Remove local_irq_disable() from the clockskernel/sched/clock.c+6 -280 replies
13/15sched: Use a static_key for sched_clock_stablearch/x86/kernel/cpu/amd.c arch/x86/kernel/cpu/intel.c arch/x86/kernel/cpu/perf_event.c +6 more+46 -1732 replies
14/15sched, clock: Fixup clear_sched_clock_stable()kernel/sched/clock.c+9 -10 replies
15/15x86: Avoid a runtime condition in native_sched_clock()arch/x86/kernel/tsc.c+6 -10 replies

Reviews trailers per patch

6 of 15 patches have a Reviewed-by or Acked-by.

PatchThomas GleixnerRafael Wysocki
1/15A-b
2/15
3/15R-b
4/15R-b
5/15R-b
6/15R-b
7/15
8/15R-b
9/15
10/15
11/15
12/15
13/15
14/15
15/15

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 00/15] cleanups and optimizations

This series contains the preempt_enable_no_resched() cleanups that include spin_lock_bh() optimizations and local_clock() optimizations.

This patch series does not include the generic idle loop stuff used to 'fix' the idle injection crap. Rafael, can we make that happen by simply ignoring pm-qos like they already do, that way we at least have that part of the cleanups done and you and Jacub can sort the pm-qos stuff at your own leasure.

Thomas, can you merge this series?