'\" t .\" Title: update_sg_lb_stats .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: January 2017 .\" Manual: Driver Basics .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "UPDATE_SG_LB_STATS" "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" update_sg_lb_stats \- Update sched_group\*(Aqs statistics for load balancing\&. .SH "SYNOPSIS" .HP \w'void\ update_sg_lb_stats('u .BI "void update_sg_lb_stats(struct\ lb_env\ *\ " "env" ", struct\ sched_group\ *\ " "group" ", int\ " "load_idx" ", int\ " "local_group" ", struct\ sg_lb_stats\ *\ " "sgs" ", bool\ *\ " "overload" ");" .SH "ARGUMENTS" .PP \fIenv\fR .RS 4 The load balancing environment\&. .RE .PP \fIgroup\fR .RS 4 sched_group whose statistics are to be updated\&. .RE .PP \fIload_idx\fR .RS 4 Load index of sched_domain of this_cpu for load calc\&. .RE .PP \fIlocal_group\fR .RS 4 Does group contain this_cpu\&. .RE .PP \fIsgs\fR .RS 4 variable to hold the statistics for this group\&. .RE .PP \fIoverload\fR .RS 4 Indicate more than one runnable task for any CPU\&. .RE .SH "COPYRIGHT" .br