PERFORCE change 45033 for review
John Baldwin
jhb at FreeBSD.org
Fri Jan 9 13:22:59 PST 2004
http://perforce.freebsd.org/chv.cgi?CH=45033
Change 45033 by jhb at jhb_slimer on 2004/01/09 13:22:53
Add notes about kthread/kproc cleanup.
Affected files ...
.. //depot/projects/smpng/sys/notes#4 edit
Differences ...
==== //depot/projects/smpng/sys/notes#4 (text+ko) ====
@@ -50,5 +50,13 @@
- Minor fixes to taskqueue locking including making the locking for the
taskqueue thread queeu actually work.
- Untested
+- Add a kproc API that does what kthread does right now
+- Add a real kthread API that creates just another thread inside of a kproc
+ - Figure out what needs to be done to make a new kthread.. should each
+ kproc have one ksegroup and one kse per cpu?
+ - Do I just add the kse's when the first new thread is created?
+ - Consolidate most of the kernel procs into a 'system' kernel proc that
+ would be pid 0.
+ - Stick all the 'idle threads' in a single 'idle' kernel proc.
Space reserved for child branches:
More information about the p4-projects
mailing list