Skip to content

nohz: Avoid double clock write

Frederic Weisbecker lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2nohz: Fix spurious periodic tick behaviour in low-res dynticks modekernel/time/tick-sched.c+4 -00 replies
2/2nohz: Avoid tick's double reprogramming in highres modekernel/time/tick-sched.c+4 -00 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchPreeti U Murthy
1/2R-b
2/2

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 0/2] nohz: Avoid double clock write

Hi Thomas,

The tick reschedules itself unconditionally. That's what we want as long as the CPU is in periodic mode. It's not that relevant when the CPU is in dynticks mode though as the clock write is likely to be overwritten by the nohz code on irq exit.

In low-res mode, that even result in unexpected periodic behaviour when no timer is scheduled in the future.

So here is a set that proposes the removal of these double writes.

git://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.git
origin/nohz/drop-double-write-v2

Thanks,
Frederic
---

Viresh Kumar (2):
nohz: Fix spurious periodic tick behaviour in low-res dynticks mode
nohz: Avoid tick's double reprogramming in highres mode

 kernel/time/tick-sched.c | 8 ++++++++
 1 file changed, 8 insertions(+)