)]}'
{
  "commit": "b327e63683a2b894b500027375342c25222b58ef",
  "tree": "76d2833e913cc15df4b96d3263c97707c9bcb358",
  "parents": [
    "cbbddb6b08cc9900a87cccaa9b22bbe06aa4f50a"
  ],
  "author": {
    "name": "Stian Halseth",
    "email": "stian@itx.no",
    "time": "Sat Oct 31 09:14:07 2026 +0100"
  },
  "committer": {
    "name": "Ingo Molnar",
    "email": "mingo@kernel.org",
    "time": "Sun Nov 01 07:32:38 2026 +0100"
  },
  "message": "sched/cputime: Don\u0027t warn when the tick period starts after idle exit\n\nkcpustat_dyntick_stop() warns if idle ends before the tick period\nthat the next tick will account has started. That happens on x86 in\na CPU\u0027s first idle period with the tick stopped, right after the\nswitch from the jiffies clocksource to tsc-early.\n\nOn the jiffies clocksource ktime only moves at the tick. When the\nclocksource switches some time d after a tick, that d is lost: ktime\ncontinues from the value of the last tick. The next tick comes\nTICK_NSEC after the last one, but ktime has only moved TICK_NSEC - d,\nwhile tick_periodic() still adds a full TICK_NSEC to tick_next_period,\nwhich is now d ahead of ktime. When NOHZ starts,\ntick_init_jiffy_update() rounds it up to a multiple of TICK_NSEC and\nthe sched timer is armed there, up to nearly two ticks after now. A\ntick stop saves that as ts-\u003elast_tick, and an idle exit before now\nreaches ts-\u003elast_tick - TICK_NSEC sees the tick period in the future.\n\nNothing is accounted twice then. The first tick covers a period that\nstarts after the idle exit, and the code already handles it. Drop the\nwarning.\n\nFixes: 96a494c9cfd8 (\"sched/cputime: Don\u0027t account idle time twice after dyntick-idle\")\nReported-by: Paul Menzel \u003cpmenzel@molgen.mpg.de\u003e\nReported-by: Breno Leitao \u003cleitao@debian.org\u003e\nReported-by: Linus Torvalds \u003ctorvalds@linux-foundation.org\u003e\nReviewed-by: Kayra Cizmeci \u003ckayracizmeci@gmail.com\u003e\nReviewed-by: Frederic Weisbecker \u003cfrederic@kernel.org\u003e\nSigned-off-by: Stian Halseth \u003cstian@itx.no\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@kernel.org\u003e\nLink: https://lore.kernel.org/all/auTCQauaU733PY5z@gmail.com/\nLink: https://lore.kernel.org/all/CAHk-\u003dwinC2u2D1FAX5grfq9F\u003dbxmARxhuiQ4MvHAiJFu3iF6gw@mail.gmail.com/\nLink: https://patch.msgid.link/20261031081408.3378884-1-stian@itx.no\nCloses: https://lore.kernel.org/all/bfe9b14a-6e65-41c5-b638-26f6e033788b@molgen.mpg.de/\n--\n kernel/sched/cputime.c | 7 ++++++-\n 1 file changed, 6 insertions(+), 1 deletion(-)\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "9e0fb8633d8232a7967544428dc9c5ae96769577",
      "old_mode": 33188,
      "old_path": "kernel/sched/cputime.c",
      "new_id": "17f3cbd5d403a77a3ac0bf578795ae490dd5d496",
      "new_mode": 33188,
      "new_path": "kernel/sched/cputime.c"
    }
  ]
}
