From owner-freebsd-arch@FreeBSD.ORG Thu Oct 28 20:58:17 2010 Return-Path: Delivered-To: arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7F8CA1065675; Thu, 28 Oct 2010 20:58:17 +0000 (UTC) (envelope-from uqs@spoerlein.net) Received: from acme.spoerlein.net (acme.spoerlein.net [IPv6:2001:470:9a47::1]) by mx1.freebsd.org (Postfix) with ESMTP id EDAE18FC14; Thu, 28 Oct 2010 20:58:16 +0000 (UTC) Received: from acme.spoerlein.net (localhost.spoerlein.net [IPv6:::1]) by acme.spoerlein.net (8.14.4/8.14.4) with ESMTP id o9SKwGxK066010 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 28 Oct 2010 22:58:16 +0200 (CEST) (envelope-from uqs@spoerlein.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=spoerlein.net; s=dkim200908; t=1288299496; bh=uAH5Wj4w4w3n02ABbFQL70Zqpq/yUUFiRAzSe5ERGc0=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:In-Reply-To; b=nX5uXj9SUypl+XObEgY1M9pGfZnnAtHauUPpoyvMTCvBIphAX+9OLCzpcPLYYWrXr OcQCQTcqwSbvHbB5PBIwYyJlq2tGpQjAdlpJ4+TEYwkMfHpFddBNBP/NBNv/fyCtqa 6GnMxMYESUh2f1PkAPOxePc9qGilJKIeJ5XgBEAc= Received: (from uqs@localhost) by acme.spoerlein.net (8.14.4/8.14.4/Submit) id o9SKwG9V066009; Thu, 28 Oct 2010 22:58:16 +0200 (CEST) (envelope-from uqs@spoerlein.net) Date: Thu, 28 Oct 2010 22:58:15 +0200 From: Ulrich =?utf-8?B?U3DDtnJsZWlu?= To: Attilio Rao Message-ID: <20101028205815.GF46314@acme.spoerlein.net> Mail-Followup-To: Attilio Rao , FreeBSD Arch References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: FreeBSD Arch Subject: Re: [PATCH] Headers for the x86 subtree X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Oct 2010 20:58:17 -0000 On Wed, 27.10.2010 at 16:56:06 +0200, Attilio Rao wrote: > This patch should convert a (simple and 100% shared between amd64 and > i386 header) under the x86 sub-tree. Please note that in this patch I > "svn cp" the file from sys/amd64/include/mptable.h into > sys/x86/include/mptable.h: > http://www.freebsd.org/~attilio/headers-x86.diff > > This is someway a POC, that I really want to get in. The idea is > simple and someway follows the pc98 case (even if not entirely): the > files under machine/include/* became just mere stubs for x86/include/* > contents and redirect there. > This won't particulary help reducing the number of available files, > but generally removing verbatim and would also be the way to go for > handling MFCs. > If you find this is the right way I'll commit the fix and start moving > other files as time permits. What I don't quite get with the new x86 directory is, why we didn't make it arch/x86 from the start? The usual argument against moving architecture specific stuff to arch/ is that it will break diffs for vendors. Now with x86 and the merging we are breaking their stuff anyway, but we don't actually improve the clutter under /sys and even gain a new arch-specific dir, not under arch/ Somehow, this seems like a missed opportunity for an often requested cleanup. :/ Uli