diff options
author | Anna-Maria Behnsen <[email protected]> | 2024-02-21 10:05:35 +0100 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2024-02-22 17:52:31 +0100 |
commit | aae55e9fb8fc73893f86165f0d84a33b7080902a (patch) | |
tree | f84cfcb3be9c102848e12a445adae33e02fd97d6 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | c0e8c5b59949e8b8b004481c99e102df606fc312 (diff) |
timers: Make sure TIMER_PINNED flag is set in add_timer_on()
When adding a timer to the timer wheel using add_timer_on(), it is an
implicitly pinned timer. With the timer pull at expiry time model in place,
the TIMER_PINNED flag is required to make sure timers end up in proper
base.
Set the TIMER_PINNED flag unconditionally when add_timer_on() is executed.
Signed-off-by: Anna-Maria Behnsen <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Reviewed-by: Frederic Weisbecker <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions