Date: Sat, 7 Jun 2003 17:47:33 -0700 (PDT) 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: <200306080047.h580lXk2002761@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jeff 2003/06/07 17:47:33 PDT FreeBSD src repository Modified files: sys/kern sched_ule.c Log: - When a new thread is added to a kseq the load is incremented prior to adding it to the nice tables. Therefore, in kseq_add_nice, we should keep in mind that the load will be 1 if we are the only thread, and not 0. - Assert that the sched lock is held in all the appropriate places. - Increase the scope of the sched lock in sched_pctcpu_update(). - Hold the sched lock in sched_runnable(). It is not held by the caller. Revision Changes Path 1.35 +20 -5 src/sys/kern/sched_ule.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200306080047.h580lXk2002761>