diff options
author | Peng Liu <[email protected]> | 2024-02-25 23:54:53 +0100 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2024-02-26 11:37:31 +0100 |
commit | ffb7e01c4e654d5c8bf2ce2a4830b826fa1f149e (patch) | |
tree | 03a285691d10232f8ff79efa6d883cf0feaceacb /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 56c2cb10120894be40c40a9bf0ce798da14c50f6 (diff) |
tick/nohz: Remove duplicate between tick_nohz_switch_to_nohz() and tick_setup_sched_timer()
The ts->sched_timer initialization work of tick_nohz_switch_to_nohz()
is almost the same as that of tick_setup_sched_timer(), so adjust the
latter to get it reused by tick_nohz_switch_to_nohz().
This also makes the low resolution mode sched_timer benefit from the tick
skew boot option.
Signed-off-by: Peng Liu <[email protected]>
Signed-off-by: Frederic Weisbecker <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Reviewed-by: Thomas Gleixner <[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