Skip to content

timers/cpuidle: Fixes and cleanups

Frederic Weisbecker lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 13 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10x86: Add a comment about the "magic" behind shadow sti before mwaitarch/x86/include/asm/mwait.h+9 -01 reply
2/10cpuidle: Fix CPUIDLE_FLAG_IRQ_ENABLE leaking timer reprogramarch/x86/include/asm/mwait.h drivers/idle/intel_idle.c+16 -141 reply
3/10cpuidle: Report illegal tick stopped while pollingdrivers/cpuidle/poll_state.c+8 -02 replies
4/10loongson: Fix idle VS timer enqueuearch/loongarch/kernel/genex.S arch/loongarch/kernel/idle.c+18 -151 reply
5/10cpuidle: Comment about timers requirements VS idle handlerkernel/sched/idle.c+30 -01 reply
6/10cpuidle: Remove unnecessary current_clr_polling_and_test() from haltpolldrivers/cpuidle/cpuidle-haltpoll.c+1 -41 reply
7/10cpuidle: Remove unnecessary current_clr_polling() on poll_idle()drivers/cpuidle/poll_state.c+0 -21 reply
8/10x86: Remove __current_clr_polling() from mwait_idle()arch/x86/kernel/process.c+0 -11 reply
9/10x86: Remove the current_clr_polling() call upon mwait exitarch/x86/include/asm/mwait.h drivers/acpi/acpi_pad.c+1 -11 reply
10/10sched/timers: Explain why idle task schedules out on remote timer enqueuekernel/sched/core.c+22 -01 reply

Reviews trailers per patch

8 of 10 patches have a Reviewed-by or Acked-by.

PatchPeter ZijlstraBibo, MaoRafael J. Wysocki
1/10A-b
2/10Not-yet-signed-off-by A-b
3/10
4/10Not-yet-signed-off-by T-b
5/10A-b
6/10A-b
7/10A-b
8/10A-b
9/10A-b
10/10A-b

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

Read the v1 thread

Cover letter [PATCH 00/10] timers/cpuidle: Fixes and cleanups

Hi,

The first part of the series is cpuidle callback fixes against timers, some of which haven't been Signed by Peter yet.

Another part is removing the overhead of useless TIF_NR_POLLING clearing.

The rest is comments.

git://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.git
timers/idle

HEAD: b66dd12bb29cca558b9323f2b270a7dae8f56c48

Thanks,
Frederic
---

Frederic Weisbecker (8):
x86: Add a comment about the "magic" behind shadow sti before mwait
cpuidle: Report illegal tick stopped while polling
cpuidle: Comment about timers requirements VS idle handler
cpuidle: Remove unnecessary current_clr_polling_and_test() from haltpoll
cpuidle: Remove unnecessary current_clr_polling() on poll_idle()
x86: Remove __current_clr_polling() from mwait_idle()
x86: Remove the current_clr_polling() call upon mwait exit sched/timers: Explain why idle task schedules out on remote timer enqueue

Peter Zijlstra (2):
cpuidle: Fix CPUIDLE_FLAG_IRQ_ENABLE leaking timer reprogram
loongson: Fix idle VS timer enqueue

 arch/loongarch/kernel/genex.S      | 32 ++++++++++++++++++--------------
 arch/loongarch/kernel/idle.c       |  1 -
 arch/x86/include/asm/mwait.h       | 21 ++++++++++++++++++---
 arch/x86/kernel/process.c          |  1 -
 drivers/acpi/acpi_pad.c            |  1 +
 drivers/cpuidle/cpuidle-haltpoll.c |  5 +----
 drivers/cpuidle/poll_state.c       | 10 ++++++++--
 drivers/idle/intel_idle.c          | 19 +++++++------------
 kernel/sched/core.c                | 22 ++++++++++++++++++++++
 kernel/sched/idle.c                | 30 ++++++++++++++++++++++++++++++
 10 files changed, 105 insertions(+), 37 deletions(-)