Date: Fri, 9 Jan 2004 13:22:56 -0800 (PST) From: John Baldwin <jhb@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 45033 for review Message-ID: <200401092122.i09LMu4W078496@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=45033 Change 45033 by jhb@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200401092122.i09LMu4W078496>