cvs commit: src/sys/kern sched_ule.c

Jeff Roberson jeff at FreeBSD.org
Sat Jan 31 18:48:37 PST 2004


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


More information about the cvs-src mailing list