'\" t .\" Title: set_timer_slack .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: May 2018 .\" Manual: Driver Basics .\" Source: Kernel Hackers Manual 3.16.56 .\" Language: English .\" .TH "SET_TIMER_SLACK" "9" "May 2018" "Kernel Hackers Manual 3\&.16\&" "Driver Basics" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" set_timer_slack \- set the allowed slack for a timer .SH "SYNOPSIS" .HP \w'void\ set_timer_slack('u .BI "void set_timer_slack(struct\ timer_list\ *\ " "timer" ", int\ " "slack_hz" ");" .SH "ARGUMENTS" .PP \fItimer\fR .RS 4 the timer to be modified .RE .PP \fIslack_hz\fR .RS 4 the amount of time (in jiffies) allowed for rounding .RE .SH "DESCRIPTION" .PP 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 \fBmod_timer\fR asks for, and that time plus the slack\&. .PP By setting the slack to \-1, a percentage of the delay is used instead\&. .SH "COPYRIGHT" .br