From owner-freebsd-hackers@FreeBSD.ORG Thu Jan 29 07:02:51 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7000F16A4CE for ; Thu, 29 Jan 2004 07:02:51 -0800 (PST) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id E0BE643D54 for ; Thu, 29 Jan 2004 07:02:41 -0800 (PST) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (localhost [127.0.0.1]) by fledge.watson.org (8.12.10/8.12.10) with ESMTP id i0TF0GUd058500; Thu, 29 Jan 2004 10:00:17 -0500 (EST) (envelope-from robert@fledge.watson.org) Received: from localhost (robert@localhost)i0TF0AB4058495; Thu, 29 Jan 2004 10:00:16 -0500 (EST) (envelope-from robert@fledge.watson.org) Date: Thu, 29 Jan 2004 10:00:10 -0500 (EST) From: Robert Watson X-Sender: robert@fledge.watson.org To: Julian Elischer In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: Unix Shepherd cc: freebsd-hackers@freebsd.org Subject: Re: kernel threads X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Jan 2004 15:02:51 -0000 On Wed, 28 Jan 2004, Julian Elischer wrote: > the KSE stuff requires too much assistance from teh Userland Thread > scheduler. > > HOWEVER it is possible that kthreads may one day be implemented as > multiple threads of a single kernel process.. (but not yet) John has been talking about doing this for a while -- clustering the kernel threads into a smaller number of kernel processes or a single kernel process. This is the approach Darwin takes as well, FWIW -- they have a kernel_task in which all the various kernel threads hang out, which avoids the overhead of full processes, as well as the emotional baggage. I think I saw John put it on his TODO list in Perforce, so maybe it's coming soon :-). Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Senior Research Scientist, McAfee Research