Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/kern



Module Name:    src
Committed By:   jonathan
Date:           Sat Mar 27 00:42:38 UTC 2004

Modified Files:
        src/sys/kern: init_main.c kern_kcont.c

Log Message:
Use proper NetBSD conventions for deferred kthread creation, not the
other semantics from an earlier incarnation.

Call kcont_init() from init_main before device autoconfiguration,
so kcont is availble to device drivers if required.

Also ensure the kthread process runs any pending continuations once
the kthread is finally up and running. For now, use a non-null timeout
to poll the queue periodically.  Draining any pending requests just
before the kthread enters its ltsleep()/kc_run loop is cleaner, but
this is the version I tested with an early-in-boot kcont request.)


To generate a diff of this commit:
cvs rdiff -r1.233 -r1.234 src/sys/kern/init_main.c
cvs rdiff -r1.8 -r1.9 src/sys/kern/kern_kcont.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index