From owner-freebsd-arch Tue Nov 2 6:16: 6 1999 Delivered-To: freebsd-arch@freebsd.org Received: from ns1.yes.no (ns1.yes.no [195.204.136.10]) by hub.freebsd.org (Postfix) with ESMTP id 0E06E14EAF for ; Tue, 2 Nov 1999 06:15:55 -0800 (PST) (envelope-from eivind@bitbox.follo.net) Received: from bitbox.follo.net (bitbox.follo.net [195.204.143.218]) by ns1.yes.no (8.9.3/8.9.3) with ESMTP id PAA20494 for ; Tue, 2 Nov 1999 15:15:54 +0100 (CET) Received: (from eivind@localhost) by bitbox.follo.net (8.8.8/8.8.6) id PAA80098 for freebsd-arch@freebsd.org; Tue, 2 Nov 1999 15:15:53 +0100 (MET) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.40.131]) by hub.freebsd.org (Postfix) with ESMTP id 022AD14EAF for ; Tue, 2 Nov 1999 06:15:29 -0800 (PST) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.9.3/8.9.2) with ESMTP id PAA26001; Tue, 2 Nov 1999 15:15:10 +0100 (CET) (envelope-from phk@critter.freebsd.dk) To: "Daniel M. Eischen" Cc: Julian Elischer , freebsd-arch@freebsd.org Subject: Re: Threads models and FreeBSD. (Next Step) In-reply-to: Your message of "Tue, 02 Nov 1999 09:09:08 EST." <381EF084.C9292297@vigrid.com> Date: Tue, 02 Nov 1999 15:15:10 +0100 Message-ID: <25999.941552110@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <381EF084.C9292297@vigrid.com>, "Daniel M. Eischen" writes: >Poul-Henning Kamp wrote: >> >> In message <381EE0D0.874F6198@vigrid.com>, "Daniel M. Eischen" writes: >> >> >> There is not much point in making a lightweight process facility >> >> if the resulting processes are not lightweight. >> > >> >And quantum is _the_ attribute that makes them lightweight or non >> >lightweight? They each share file descriptors, address space, etc. >> >> Lack of overhead is what makes the lightweight. >> >> Keeping track of quanta, accounting permissions or anything else >> on a "per XXX" basis is "overhead" in this context. > >I'll make an assumption that a lightweight process is just going >to be another proc. A proc already contains scheduling attributes >and it seems _extra_ work to make another dereference to get to >the parents proc scheduling attributes. Think "context switch" -- Poul-Henning Kamp FreeBSD coreteam member phk@FreeBSD.ORG "Real hackers run -current on their laptop." FreeBSD -- It will take a long time before progress goes too far! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message