'\" t .\" Title: attach_entity_load_avg .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: Driver Basics .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "ATTACH_ENTITY_LOAD_A" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "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" attach_entity_load_avg \- attach this entity to its cfs_rq load avg .SH "SYNOPSIS" .HP \w'void\ attach_entity_load_avg('u .BI "void attach_entity_load_avg(struct\ cfs_rq\ *\ " "cfs_rq" ", struct\ sched_entity\ *\ " "se" ");" .SH "ARGUMENTS" .PP \fIcfs_rq\fR .RS 4 cfs_rq to attach to .RE .PP \fIse\fR .RS 4 sched_entity to attach .RE .SH "DESCRIPTION" .PP Must call \fBupdate_cfs_rq_load_avg\fR before this, since we rely on cfs_rq\->avg\&.last_update_time being current\&. .SH "COPYRIGHT" .br