Date: Sat, 31 Jan 2004 18:48:36 -0800 (PST) From: Jeff Roberson <jeff@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern sched_ule.c Message-ID: <200402010248.i112maMK019526@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jeff 2004/01/31 18:48:36 PST
FreeBSD src repository
Modified files:
sys/kern sched_ule.c
Log:
- Add a new member to struct kseq called ksq_sysload. This is intended to
track the load for the sched_load() function. In the SMP case this member
is not defined because it would be redundant with the ksg_load member
which already tracks the non ithd load.
- For sched_load() in the UP case simply return ksq_sysload. In the SMP
case traverse the list of kseq groups and sum up their ksg_load fields.
Revision Changes Path
1.98 +27 -3 src/sys/kern/sched_ule.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200402010248.i112maMK019526>
