1SET_TIMER_SLACK(9) Driver Basics SET_TIMER_SLACK(9)
2
3
4
6 set_timer_slack - set the allowed slack for a timer
7
9 void set_timer_slack(struct timer_list * timer, int slack_hz);
10
12 timer
13 the timer to be modified
14
15 slack_hz
16 the amount of time (in jiffies) allowed for rounding
17
19 Set the amount of time, in jiffies, that a certain timer has in terms
20 of slack. By setting this value, the timer subsystem will schedule the
21 actual timer somewhere between the time mod_timer asks for, and that
22 time plus the slack.
23
24 By setting the slack to -1, a percentage of the delay is used instead.
25
27Kernel Hackers Manual 3.10 June 2019 SET_TIMER_SLACK(9)