From owner-freebsd-arch Mon Dec 21 02:03:15 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA01445 for freebsd-arch-outgoing; Mon, 21 Dec 1998 02:03:15 -0800 (PST) (envelope-from owner-freebsd-arch@FreeBSD.ORG) Received: from ns1.yes.no (ns1.yes.no [195.204.136.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA01440 for ; Mon, 21 Dec 1998 02:03:10 -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.1a/8.9.1) with ESMTP id LAA22812 for ; Mon, 21 Dec 1998 11:03:03 +0100 (CET) Received: (from eivind@localhost) by bitbox.follo.net (8.8.8/8.8.6) id LAA13612 for freebsd-arch@freebsd.org; Mon, 21 Dec 1998 11:03:03 +0100 (MET) Received: from ns1.yes.no (ns1.yes.no [195.204.136.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA28292 for ; Mon, 21 Dec 1998 01:34:05 -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.1a/8.9.1) with ESMTP id KAA22296 for ; Mon, 21 Dec 1998 10:34:00 +0100 (CET) Received: (from eivind@localhost) by bitbox.follo.net (8.8.8/8.8.6) id KAA13393 for freebsd-arch@freebsd.org; Mon, 21 Dec 1998 10:33:59 +0100 (MET) Received: from ns1.yes.no (ns1.yes.no [195.204.136.10]) by bitbox.follo.net (8.8.8/8.8.6) with ESMTP id AAA10979 for ; Mon, 21 Dec 1998 00:46:52 +0100 (MET) Received: from hub.freebsd.org (hub.FreeBSD.ORG [204.216.27.18]) by ns1.yes.no (8.9.1a/8.9.1) with ESMTP id AAA16527 for ; Mon, 21 Dec 1998 00:46:51 +0100 (CET) Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA07058; Sun, 20 Dec 1998 15:44:27 -0800 (PST) (envelope-from owner-cvs-committers@FreeBSD.org) Received: from dingo.cdrom.com (castles336.castles.com [208.214.167.36]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA07035; Sun, 20 Dec 1998 15:44:12 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (LOCALHOST [127.0.0.1]) by dingo.cdrom.com (8.9.1/8.8.8) with ESMTP id PAA47553; Sun, 20 Dec 1998 15:41:58 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Message-Id: <199812202341.PAA47553@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Eivind Eklund cc: Doug Rabson , Bruce Evans , dfr@FreeBSD.ORG, alpha@FreeBSD.ORG, arch@FreeBSD.ORG Subject: Re: cvs commit: src/share/mk bsd.kern.mk src/sys/alpha/conf Makefile.alpha In-reply-to: Your message of "Sun, 20 Dec 1998 23:44:19 +0100." <19981220234419.A9903@follo.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 20 Dec 1998 15:41:57 -0800 From: Mike Smith Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG [Reference message from cvs-committers. -EE] > On Sun, Dec 20, 1998 at 11:16:35AM +0000, Doug Rabson wrote: > > On Fri, 18 Dec 1998, Eivind Eklund wrote: > > > Eivind, who would like a full re-org of the entire kernel source > > > layout at some point. > > > > Any ideas on a decent layout? Let's qualify that and say "a decent layout that takes our current architectural tendancies into account" > bus/ # Bus-specific code > eisa/ > dev/ # Devices for this bus > # Type specifiers for drivers This isn't even learning from our current mistakes. (cf. everything in sys/pci that frontends for stuff in sys/i386/isa) > This is just a very quick attempt at a hierarchially based layout; I'm > sure there are lots of possible improvements. The current drive is to tear the kernel into modules wherever possible; ultimately the kernel core will remain, and everything else will be modules. So: boot as current /sys/boot ... compile i386 not convinced of the requirement for ... arch subdirs here. alpha ... modules ... conf config metainformation ... kern core 'kernel module' arch alpha i386 vm core vm primitives ... net core networking (since removing it ... from the kernel is almost impossible) modules bus bus handlers, arch independent where root possible isa pci pccard cardbus scsi ppbus iic ... device device drivers, one directory per ... driver vfs filesystems, perhaps organised as per ... Eivind's suggestion syscall loadable syscalls ... misc "other stuff" ... > > (Any ideas on how to get enough people to agree on change?) > > Not a clue. Almost impossible, unless you can sell them on losing the CVS history. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message