[PATCH v3 0/2] rwonce: Introduce {READ,WRITE}_ONCE_THIS_CPU()

From: Kunwu Chan

Date: Tue Oct 06 2026 - 22:29:22 EST


Hi,

This is a rebase of v2 onto v7.3-rc6 with review tags collected
since v2.

Changes since v2 [1]:
- Rebased onto v7.3-rc6.
- Collected Reviewed-by and Acked-by tags.

[1] https://lore.kernel.org/lkml/20261002151757.3605081-1-kunwu.chan@xxxxxxxxx/

Changes since v1 [2]:
- Introduce {READ,WRITE}_ONCE_THIS_CPU() instead of reusing the
plain variants. (Thomas Gleixner)

- Expand the commit messages to state the KCSAN rationale. (Thomas
Gleixner)

[2] https://lore.kernel.org/all/20260920085434.2918331-1-kunwu.chan@xxxxxxxxx/

Kunwu Chan (2):
rwonce: Add READ_ONCE_THIS_CPU() and WRITE_ONCE_THIS_CPU()
timers/nohz: Mark got_idle_tick accesses as same-CPU races

include/asm-generic/rwonce.h | 11 +++++++++++
kernel/time/tick-sched.c | 6 +++---
2 files changed, 14 insertions(+), 3 deletions(-)


base-commit: a90ee4305c4a5df72c11b31dacfdc76e00fcf78a
--
2.43.0