From owner-freebsd-arch Wed Jul 17 0:49:22 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 E413F37B496 for ; Wed, 17 Jul 2002 00:49:18 -0700 (PDT) Received: from iguana.icir.org (iguana.icir.org [192.150.187.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id B82D643E6D for ; Wed, 17 Jul 2002 00:49:06 -0700 (PDT) (envelope-from rizzo@iguana.icir.org) Received: (from rizzo@localhost) by iguana.icir.org (8.11.6/8.11.3) id g6H7luB07387; Wed, 17 Jul 2002 00:47:56 -0700 (PDT) (envelope-from rizzo) Date: Wed, 17 Jul 2002 00:47:51 -0700 From: Luigi Rizzo To: Peter Wemm Cc: arch@freebsd.org Subject: Re: proposed changes to kern_switch.c and kern_synch.c Message-ID: <20020717004750.A7375@iguana.icir.org> References: <20020716235216.B6785@iguana.icir.org> <20020717074335.1DA923926@overcee.wemm.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020717074335.1DA923926@overcee.wemm.org>; from peter@wemm.org on Wed, Jul 17, 2002 at 12:43:35AM -0700 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 Wed, Jul 17, 2002 at 12:43:35AM -0700, Peter Wemm wrote: > Luigi Rizzo wrote: > > > In order to make this work, it is convenient to have all > > scheduler-specific functions and data structures in a > > single file (kern_switch*.c), and generic support in > > another one (kern_synch.c). I believe this was also the original > > BSD design in partitioning the code between the two files. > > You would be mistaken there. kern_switch.c is new and has only existed > very recently. kern_switch.c came about as a C implementation of code that > used to be embedded inside i386/swtch.s. It has taken on a life of its own > now though. :-/ good to know! Anyways, does the partitioning of functionalities sound reasonable ? cheers luigi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message