From owner-svn-src-head@FreeBSD.ORG Fri Jan 16 18:01:51 2015 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5C34BDCC for ; Fri, 16 Jan 2015 18:01:51 +0000 (UTC) Received: from mail-pa0-f50.google.com (mail-pa0-f50.google.com [209.85.220.50]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 291397BB for ; Fri, 16 Jan 2015 18:01:50 +0000 (UTC) Received: by mail-pa0-f50.google.com with SMTP id bj1so25618517pad.9 for ; Fri, 16 Jan 2015 10:01:50 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:subject:mime-version:content-type:from :in-reply-to:date:cc:message-id:references:to; bh=LeKfyQA3c09yg31kwiKhDkWfbPL7cjLGxE1IFnNqon4=; b=cxRmLcIye0adF6v5rmxPZDgGBok5UbH+p/ENiLyFp+7nzkPVMeCGIwbiaApfVFcTtM m7iheEaeICO7H+W4N8I6NS8/KmLgPi4zkDl896AIpFbV82khfAatX8x6PY+gau84pqNU l5JRTS3Y5IS4wPOkkE9ypV5EwGfVQhGqsFd0aKdJ77k+CafWER9X0WtO1Aj+c2066u+U pBpVY4OZehlv0kj5JF+6Sad8lBgKSonjRiDtJgEjAqkDifhSJrkjPynTeffPfKLEll+S C2Npdg/F3EzjzQqeXRj1nhxmESYXni6iG3kDHCJ1aJYt7XbDOX3RV17FWVdvotxBajTM CzFw== X-Gm-Message-State: ALoCoQlwREPNA4Niu4CE0QdTDZokGctpTRTx+Hqo1/fEVNjpYiIsZtJgFds0fFyGVXscLM1S0xly X-Received: by 10.68.211.104 with SMTP id nb8mr15650395pbc.29.1421431310415; Fri, 16 Jan 2015 10:01:50 -0800 (PST) Received: from lglt-rottaway.corp.netflix.com ([69.53.236.236]) by mx.google.com with ESMTPSA id y2sm4671653pdm.31.2015.01.16.10.01.48 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 16 Jan 2015 10:01:49 -0800 (PST) Sender: Warner Losh Subject: Re: svn commit: r277204 - head/sys/amd64/conf Mime-Version: 1.0 (Mac OS X Mail 8.1 \(1993\)) Content-Type: multipart/signed; boundary="Apple-Mail=_EDEB8FFA-6736-41A5-8F1D-9DE58B1363E2"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-Pgp-Agent: GPGMail 2.5b3 From: Warner Losh In-Reply-To: <20150115134446.GA92636@FreeBSD.org> Date: Fri, 16 Jan 2015 11:01:46 -0700 Message-Id: <8CA7406B-9962-4DED-A509-14851128F43B@bsdimp.com> References: <201501150042.t0F0g7Um018059@svn.freebsd.org> <20150115132303.GA245@zxy.spb.ru> <20150115134446.GA92636@FreeBSD.org> To: Alexey Dokuchaev X-Mailer: Apple Mail (2.1993) Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, Warner Losh , Slawa Olhovchenkov X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jan 2015 18:01:51 -0000 --Apple-Mail=_EDEB8FFA-6736-41A5-8F1D-9DE58B1363E2 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On Jan 15, 2015, at 6:44 AM, Alexey Dokuchaev = wrote: >=20 > On Thu, Jan 15, 2015 at 04:23:03PM +0300, Slawa Olhovchenkov wrote: >> On Thu, Jan 15, 2015 at 12:42:07AM +0000, Warner Losh wrote: >>> New Revision: 277204 >>> URL: https://svnweb.freebsd.org/changeset/base/277204 >>>=20 >>> Log: >>> New MINIMAL kernel config. The goal with this configuration is to >>> only compile in those options in GENERIC that cannot be loaded as >>> modules. ufs is still included because many of its options aren't >>> present in the kernel module. There's some other exceptions = documented >>=20 >> Are you sure? >> I think defining UFS options in kernel connfig affect to module too. >> When I define this options in kernel config (w/o options FFS) I got >> ufs.ko with this SU, quota, acl etc. >>=20 >> [...] >> This is loadable too. >=20 > Right, it does not look like minimal to me either. Too many things, sadly, are kernel options and the functionality is = absent when or reduced when loading from a module. > But I welcome the > intention. AFAIR last time we had a discussion about why our default > kernel is not MINIMAL, it boiled down to two main problems: 1) = loader's > caching of disk reads (which makes loading *.ko's from = /boot/loader.conf > a PITA, esp. on ZFS), and 2) robust way to figure out which modules to > load on an arbitrary user's system (so they won't have to write their > /boot/loader.conf from scratch themselves). (2) is the exact problem I=E2=80=99m working on. Since the design of = that will allow us to read from the kernel these modules, (1) becomes largely irrelevant because the only /boot/loader incursion would be to load drivers for any storage devices that are on the PCIe bus. > Speaking of (1), I recall there was one or two attempts to address it > (keyword: fast-loader-3.diff). Can someone with more details on their > hands comment a bit what had happened to that work and are there any > ETA for it to get committed? That would be a big leap forward towards > minimal kernel which can be feasible enough to replace (or be a real > alternative to) GENERIC in the future. Perhaps. Let=E2=80=99s see how my stuff plays out, since it generally = would mean we could use a more minimal kernel and let the system figure out what = other things should be loaded. Warner --Apple-Mail=_EDEB8FFA-6736-41A5-8F1D-9DE58B1363E2 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQIcBAEBCgAGBQJUuVIKAAoJEGwc0Sh9sBEAPqAP/1ksobiazMXPCCCff1kwqEdp EPBJh94ERMu+hJD+3zBE+2Zlc02KGlto5zt6d5fTvzWTx4w+DOzbIPjMznOQhrZ/ xx2CK3wabE+dH+wy0+wiszDh9rjQNgPAct9Yw65zAHLEWt5Z2TTGoevSxJVrMDiQ LQoVElZeuhnxLp/RBlI8292c6KLat73RgJqrqaQ+ZqpZiJjzbvlwUjqa51wu7t4w oOo2M+/cGqYdcx+16CF0GNMNasHRFJpk4un1gCiZVafRz3YuVSlcciBkMbJJnvJC G6imEmte3X+b5eR6VmcCLJSGVKxQQeDeP+6yk6W6cvpN5c+e2IVnoYl7Dq5rlQCW NPLRpGaxeu6sIdyPcwIXkFIrn0vUYof04FA/JC3kypcBLvWNuezzywqGewhOhaUs PFbh3P+TpwEWCnm2ulhmZhxTa7z3JP2QZnwGA5wvIGUxOPbb0mfC5QZ+kwFBnYUT BsvMdk/jKTFPAOEs/eu6IGJ2xlvWB07Kk/2in/nNm/f3b3rsLYHN7ei8/apfVZl4 f2eI18yHep1mqWjFB3mHZ0xLuf15S6RPh2n04aZtdnb5Eu/gC0pLSljXsE37/ytM ie82jpGfST5c3MdV1ycHakqNf5skvOmMwC+ND1uMSOs4Lolo0madt1tOT+cTs53b 1x+ZurfCYefJWFrP53WW =aYih -----END PGP SIGNATURE----- --Apple-Mail=_EDEB8FFA-6736-41A5-8F1D-9DE58B1363E2--