From owner-svn-src-all@FreeBSD.ORG Sat Jun 11 13:22:47 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 05B1D106566C; Sat, 11 Jun 2011 13:22:47 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-yx0-f182.google.com (mail-yx0-f182.google.com [209.85.213.182]) by mx1.freebsd.org (Postfix) with ESMTP id 8B2208FC13; Sat, 11 Jun 2011 13:22:46 +0000 (UTC) Received: by yxm34 with SMTP id 34so467176yxm.13 for ; Sat, 11 Jun 2011 06:22:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=zbMV6T9NHEEX9xAKEXwNTsdzx6J38pTZ2mLcveYT6nc=; b=OI0W11EcF8JXFsFU1unfq4b3+/WOl+/Nw5DrxG8FMN2ZJM55jX3Ntew0q9qJeijaB1 HxcXmTv/r5za7kTU7xyYk0HyFkmGy7zs9m9kO6tWv3rxAiPfIUlUJhuyM31IUypW4zFH 2upqnEiW5RlzffqXsA0uhbLB7SveANWECCOGQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=uxpdQ2o3nNotblq441FF82mQofBMMBPE7sgs2mggieHmzKoTlOvB55skuKqd5WOqn4 2xmUxUOe4RQDLISa1ayyEJrpcI1SYppVjjrRqIbG0X3+n0MLCj4JB5k4g/h067F49DUo KY4V8/a08pvqTRFWEdrogfGas9aZ85AueA2ww= MIME-Version: 1.0 Received: by 10.150.13.15 with SMTP id 15mr4298417ybm.103.1307798565599; Sat, 11 Jun 2011 06:22:45 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.150.216.3 with HTTP; Sat, 11 Jun 2011 06:22:45 -0700 (PDT) In-Reply-To: References: <201106110908.p5B98kkE066709@svn.freebsd.org> Date: Sat, 11 Jun 2011 21:22:45 +0800 X-Google-Sender-Auth: G3ZhDfC5VH0AmEQA7_SXeW6T6sE Message-ID: From: Adrian Chadd To: Robert Watson Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, Joel Dahl Subject: Re: svn commit: r222980 - in head/sys: amd64/conf i386/conf X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Jun 2011 13:22:47 -0000 btw, I just posted something similar to this on -arch. adrian On 11 June 2011 21:07, Robert Watson wrote: > To me, this seems like the wrong direction. =A0Over the last decade, we'v= e > been trying to move away from conditional compilation of features to havi= ng > them be loadable as modules. =A0The arrival of freebsd-update has only > increased the pressure to take this approach: we want to avoid the need t= o > customise kernel configurations as much as possible, so that users get > binary updates in the common case. =A0As sound already fully supported be= ing > loaded as a module, and isn't needed to boot the system, it seems > unfortunate that we'd move from loading it as a module to compiling it in= . > > It seems like what we almost want is a default set of modules for > loader.conf, which are automatically loaded (but not compiled in). =A0Wha= t we > need to supplement that is a way to detect that modules *should* be loade= d > based on PCI IDs or similar, which could then trigger loading of the soun= d > drivers, and other similar supplementary modules. > > While it seems like memory is "free" these days, that's not really the ca= se. > The base kernel footprint is quite observable in VM configurations, where > it's common to configure quite low memory footprints -- 256M, 512M, etc, = in > order to improve VM density. > > It would be great if devd could subsume unmatched PCI ID attachment and > reference a database of device drivers to figure out what to load.