Re: [PATCH v2] sched/clock: Avoid false sharing for sched_clock_irqtime
From: Peter Zijlstra
Date: Tue Jan 13 2026 - 05:08:05 EST
On Tue, Jan 13, 2026 at 03:48:07PM +0800, Wangyang Guo wrote:
> Read-mostly sched_clock_irqtime may share the same cacheline with
> frequently updated nohz struct. Mark it as __read_mostly to avoid
> false sharing issue.
>
Is there a reason that thing can't be a static_key or so?