From owner-cvs-all Thu Jul 1 6:21:56 1999 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 9557C15741; Thu, 1 Jul 1999 06:21:54 -0700 (PDT) (envelope-from peter@FreeBSD.org) Received: (from peter@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id GAA75851; Thu, 1 Jul 1999 06:21:53 -0700 (PDT) (envelope-from peter@FreeBSD.org) Message-Id: <199907011321.GAA75851@freefall.freebsd.org> From: Peter Wemm Date: Thu, 1 Jul 1999 06:21:48 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/alpha/alpha vm_machdep.c src/sys/conf files src/sys/i386/i386 vm_machdep.c src/sys/kern kern_kthread.c init_main.c kern_linker.c uipc_mbuf.c vfs_aio.c vfs_subr.c src/sys/sys kthread.h kernel.h proc.h src/sys/vm vm_pageout.c Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk peter 1999/07/01 06:21:47 PDT Modified files: sys/alpha/alpha vm_machdep.c sys/conf files sys/i386/i386 vm_machdep.c sys/kern init_main.c kern_linker.c uipc_mbuf.c vfs_aio.c vfs_subr.c sys/sys kernel.h proc.h sys/vm vm_pageout.c Added files: sys/kern kern_kthread.c sys/sys kthread.h Log: Slight reorganization of kernel thread/process creation. Instead of using SYSINIT_KT() etc (which is a static, compile-time procedure), use a NetBSD-style kthread_create() interface. kproc_start is still available as a SYSINIT() hook. This allowed simplification of chunks of the sysinit code in the process. This kthread_create() is our old kproc_start internals, with the SYSINIT_KT fork hooks grafted in and tweaked to work the same as the NetBSD one. One thing I'd like to do shortly is get rid of nfsiod as a user initiated process. It makes sense for the nfs client code to create them on the fly as needed up to a user settable limit. This means that nfsiod doesn't need to be in /sbin and is always "available". This is a fair bit easier to do outside of the SYSINIT_KT() framework. Revision Changes Path 1.17 +3 -3 src/sys/alpha/alpha/vm_machdep.c 1.224 +1 -0 src/sys/conf/files 1.123 +3 -3 src/sys/i386/i386/vm_machdep.c 1.124 +27 -83 src/sys/kern/init_main.c 1.34 +5 -34 src/sys/kern/kern_linker.c 1.40 +2 -2 src/sys/kern/uipc_mbuf.c 1.54 +3 -3 src/sys/kern/vfs_aio.c 1.204 +4 -3 src/sys/kern/vfs_subr.c 1.56 +8 -58 src/sys/sys/kernel.h 1.84 +2 -3 src/sys/sys/proc.h 1.143 +4 -3 src/sys/vm/vm_pageout.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message