From owner-freebsd-arch Wed Jul 17 0:44:50 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 7C0EF37B400 for ; Wed, 17 Jul 2002 00:44:45 -0700 (PDT) Received: from canning.wemm.org (canning.wemm.org [192.203.228.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9873443E58 for ; Wed, 17 Jul 2002 00:43:38 -0700 (PDT) (envelope-from peter@wemm.org) Received: from fw.wemm.org (canning.wemm.org [192.203.228.65]) by canning.wemm.org (Postfix) with ESMTP id ADA5F2A7D6 for ; Wed, 17 Jul 2002 00:43:35 -0700 (PDT) (envelope-from peter@wemm.org) Received: from overcee.wemm.org (overcee.wemm.org [10.0.0.3]) by fw.wemm.org (Postfix) with ESMTP id 6D8864C26C for ; Wed, 17 Jul 2002 00:43:35 -0700 (PDT) (envelope-from peter@wemm.org) Received: from wemm.org (localhost [127.0.0.1]) by overcee.wemm.org (Postfix) with ESMTP id 1DA923926; Wed, 17 Jul 2002 00:43:35 -0700 (PDT) (envelope-from peter@wemm.org) X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: Luigi Rizzo Cc: arch@freebsd.org Subject: Re: proposed changes to kern_switch.c and kern_synch.c In-Reply-To: <20020716235216.B6785@iguana.icir.org> Date: Wed, 17 Jul 2002 00:43:35 -0700 From: Peter Wemm Message-Id: <20020717074335.1DA923926@overcee.wemm.org> 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 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. :-/ Cheers, -Peter -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message