From owner-freebsd-alpha Thu Sep 5 13:49:40 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 354F737B400; Thu, 5 Sep 2002 13:49:38 -0700 (PDT) Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3AF8B43E75; Thu, 5 Sep 2002 13:49:37 -0700 (PDT) (envelope-from ticso@cicely9.cicely.de) Received: from cicely5.cicely.de (cicely5.cicely.de [IPv6:3ffe:400:8d0:301:200:92ff:fe9b:20e7]) by srv1.cosmo-project.de (8.12.5/8.12.5) with ESMTP id g85KnU6K074450 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Thu, 5 Sep 2002 22:49:33 +0200 (CEST) (envelope-from ticso@cicely9.cicely.de) Received: from cicely9.cicely.de (cicely9.cicely.de [IPv6:3ffe:400:8d0:301:210:5aff:fe30:1c1a]) by cicely5.cicely.de (8.12.6/8.12.6) with ESMTP id g85KnSNk002369 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Thu, 5 Sep 2002 22:49:29 +0200 (CEST) (envelope-from ticso@cicely9.cicely.de) Received: from cicely9.cicely.de (localhost [127.0.0.1]) by cicely9.cicely.de (8.12.6/8.12.5) with ESMTP id g85Kn2D3013312; Thu, 5 Sep 2002 22:49:02 +0200 (CEST) (envelope-from ticso@cicely9.cicely.de) Received: (from ticso@localhost) by cicely9.cicely.de (8.12.6/8.12.6/Submit) id g85Kn2NT013311; Thu, 5 Sep 2002 22:49:02 +0200 (CEST) Date: Thu, 5 Sep 2002 22:49:02 +0200 From: Bernd Walter To: John Baldwin Cc: ticso@cicely.de, freebsd-alpha@FreeBSD.ORG, Andrew Gallatin Subject: Re: ithread preemption Message-ID: <20020905204901.GG13050@cicely9.cicely.de> Reply-To: ticso@cicely.de References: <20020905201443.GD13050@cicely9.cicely.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD cicely9.cicely.de 5.0-CURRENT alpha User-Agent: Mutt/1.5.1i Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thu, Sep 05, 2002 at 04:31:07PM -0400, John Baldwin wrote: > > On 05-Sep-2002 Bernd Walter wrote: > > OK - I have some basic understandig problems here. > > > > Why should ithreads ever return to PAL? > > Why is IPL raised while an ithread is running? > > > > From what I understood before the interrupt handler, which is called > > from PAL, just triggers the ithread, block the intline and returns. > > Yes, but when you throw preemption into the mix you can switch to the > actual ithread when you schedule it, and you don't return to the original > interrupted thread until later. Now I got it. -- B.Walter COSMO-Project http://www.cosmo-project.de ticso@cicely.de Usergroup info@cosmo-project.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message