aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <[email protected]>2023-08-03 23:09:18 +0200
committerRafael J. Wysocki <[email protected]>2023-08-09 19:58:46 +0200
commit6da8f9ba5a87f8aecf2cd4441cc6024a77e5b645 (patch)
tree594fecf72587e6aa3e86ddef92b3d2e0394dabd6 /lib/test_fortify/write_overflow-strncpy-src.c
parent21d28cd2fa5fc01ee83e64df838ecd72112c09b7 (diff)
cpuidle: teo: Skip tick_nohz_get_sleep_length() call in some cases
Make teo_select() avoid calling tick_nohz_get_sleep_length() if the candidate idle state to return is state 0 or if state 0 is a polling one and the target residency of the current candidate one is below a certain threshold, in which cases it may be assumed that the CPU will be woken up immediately by a non-timer wakeup source and the timers are not likely to matter. Signed-off-by: Rafael J. Wysocki <[email protected]> Tested-by: Kajetan Puchalski <[email protected]> Tested-by: Anna-Maria Behnsen <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions