From owner-freebsd-arch Wed Oct 9 10:29:58 2002 Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 87D3837B401 for ; Wed, 9 Oct 2002 10:29:57 -0700 (PDT) Received: from mail.speakeasy.net (mail12.speakeasy.net [216.254.0.212]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1DB9943E6E for ; Wed, 9 Oct 2002 10:29:57 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Received: (qmail 4005 invoked from network); 9 Oct 2002 17:29:56 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail12.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 9 Oct 2002 17:29:56 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.6/8.12.6) with ESMTP id g99HTsn5011428; Wed, 9 Oct 2002 13:29:54 -0400 (EDT) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Wed, 09 Oct 2002 13:29:58 -0400 (EDT) From: John Baldwin To: Julian Elischer Subject: Re: Scheduler framework. Cc: arch@FreeBSD.ORG, Igor Sysoev Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 09-Oct-2002 Julian Elischer wrote: > > > On Wed, 9 Oct 2002, Igor Sysoev wrote: > >> On Wed, 9 Oct 2002, Julian Elischer wrote: >> >> > If a thread mailbox IS provided: >> > the syscall is entered. >> > the thread blocks. A second thread is invoked and attached >> > to the KSE, which is disconnected from the original thread. >> >> Sorry, where did this second thread come from ? > > there is a thread_allocator that allocates threads on demand. > > Actually the process ahs a couple of spare threads "Up its sleave" > so it doesn't have to go to teh thread allocator every time.. Which kind of defeats the point of letting the slab allocator manage memory from a larger whole-view perspective. :-P -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message