set_timer_slack(9)

set_timer_slack9

Set the allowed slack for a timer

Usage

void set_timer_slack(struct timer_list * timer, int slack_hz);

Arguments

timer

the timer to be modified

slack_hz

the amount of time (in jiffies) allowed for rounding

Overview

Set the amount of time, in jiffies, that a certain timer has in terms of slack. By setting this value, the timer subsystem will schedule the actual timer somewhere between the time mod_timer asks for, and that time plus the slack.

By setting the slack to -1, a percentage of the delay is used instead.

Releases

2 releases since Debian 7 (Wheezy); the text changed 1 time.

  1. 7
  2. 8

From linux-manual-3.16 3.16.56-1+deb8u1 in Debian 8 (Jessie). Parsed by carta from the page's man source.