cvs commit: src/sys/sys usched.h src/sys/kern usched_bsd4.c kern_clock.c src/bin/ps extern.h keyword.c print.c

Matthew Dillon dillon at
Wed Jun 29 10:58:36 PDT 2005

:David Rhodus wrote:
:> That has already been the case for over a year now that each cpu has had 
:> it own scheduler.
:	The above statement is only true for the in-kernel LWKT scheduler.
:	As for the userland scheduler, it's a totally different beast.
:					-Hiten
:					Hiten Pandya

    Right.  the LWKT scheduler (which does the actual real life scheduling
    of the thread) is a per-cpu scheduler.  The userland scheduler, whos
    job it is to select which of the runnable userland processes should be
    passed on to LWKT, currently requires the Big Giant Lock.

    Note that all kernel threads are pure LWKT threads.  So while I want
    to fix the userland scheduler issue I don't think it would actually
    make much difference in performance.

					Matthew Dillon 
					<dillon at xxxxxxxxxxxxx>

More information about the Commits mailing list