diff options
author | Eric Dumazet <edumazet@google.com> | 2025-04-02 13:31:14 +0000 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2025-04-09 21:21:36 +0200 |
commit | 0df6db767a535472a46aeea93c280de067784a9f (patch) | |
tree | 1d0ed57b67d5deb80975927487f297435649efbb /include/linux/timer.h | |
parent | 0af2f6be1b4281385b618cb86ad946eded089ac8 (diff) |
posix-timers: Initialize cache early and move pointer into __timer_data
Move posix_timers_cache initialization to posixtimer_init(). At that point
the memory subsystem is already up and running.
Also move the cache pointer to the __timer_data variable to avoid
potential false sharing, since it never was marked as __ro_after_init.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/all/20250402133114.253901-1-edumazet@google.com
Diffstat (limited to 'include/linux/timer.h')
0 files changed, 0 insertions, 0 deletions