From owner-svn-src-head@FreeBSD.ORG Fri Jan 16 17:58:04 2015 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 774E8C1F for ; Fri, 16 Jan 2015 17:58:04 +0000 (UTC) Received: from mail-pa0-f51.google.com (mail-pa0-f51.google.com [209.85.220.51]) (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 4196D6A8 for ; Fri, 16 Jan 2015 17:58:03 +0000 (UTC) Received: by mail-pa0-f51.google.com with SMTP id ey11so25620614pad.10 for ; Fri, 16 Jan 2015 09:57:57 -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=gwqw5nfuYO2InERsxl4uHFftYpMO1+GubbeY5v/ISgo=; b=cx5194vU//xGVHPxDi4maHCpebk6n/a47fd194pcN+TBcHq+j7tX+uxpIOU+Z0ghvg CtMvzfSPujW/AjVrCqtOUft/vPsONu7hW+0MQsM1MG4y9R+mF4lK6IG3Kdr3rr9oXgTi mnjjWY7joVSOxalSFyKeH9mTcHg0dBTCJBHT/1mHSLMgQJOKqzmdTc25xeaeTB/nYE3f BVrILNG8N320EUFxJC7+TciRHNmlDAp9XZkmE+22LFZnJMJxPPWdKCKVwLXE3txv19Ul a0Ar3ok80rGpEEreCmeTMRtIzCjMI3+BAGZiJm6Vy/pljUJTK5o2wjVhq0yHsrIbiwit liPQ== X-Gm-Message-State: ALoCoQndP1EiJLeF/aciKbtbPqfAxWKDpD9B/Ks3Z4VBprwgtvYdxrMwMK8EkawyY8PiFjipHTds X-Received: by 10.68.211.104 with SMTP id nb8mr15623182pbc.29.1421431077406; Fri, 16 Jan 2015 09:57:57 -0800 (PST) Received: from lglt-rottaway.corp.netflix.com ([69.53.236.236]) by mx.google.com with ESMTPSA id z2sm4625942pdc.95.2015.01.16.09.57.55 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 16 Jan 2015 09:57:56 -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=_65FB83AD-70C3-461A-919C-123C2F9D7492"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-Pgp-Agent: GPGMail 2.5b3 From: Warner Losh In-Reply-To: <20150115132303.GA245@zxy.spb.ru> Date: Fri, 16 Jan 2015 10:57:54 -0700 Message-Id: <368B22F3-5607-46F8-B8D2-13CA59E94861@bsdimp.com> References: <201501150042.t0F0g7Um018059@svn.freebsd.org> <20150115132303.GA245@zxy.spb.ru> To: Slawa Olhovchenkov X-Mailer: Apple Mail (2.1993) Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers , Warner Losh 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 17:58:04 -0000 --Apple-Mail=_65FB83AD-70C3-461A-919C-123C2F9D7492 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On Jan 15, 2015, at 6:23 AM, Slawa Olhovchenkov = wrote: >=20 > On Thu, Jan 15, 2015 at 12:42:07AM +0000, Warner Losh wrote: >=20 >> Author: imp >> Date: Thu Jan 15 00:42:06 2015 >> 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. While one could set options in the kernel to affect the ufs.ko build, there=E2=80=99s not a universal ufs.ko that can be loaded easily that = switches between the different types of options. You can create modules that do this, but that=E2=80=99s a very very different problem than the = one I want to solve, namely you get the same[*] functionality having device fred in the kernel config as kldloading fred.ko. So rather than bite off that problem also, I=E2=80=99m opting for simplicity. >> +options SOFTUPDATES # Enable FFS soft updates = support >> +options UFS_ACL # Support for access control = lists >> +options UFS_DIRHASH # Improve performance on big = directories >> +options UFS_GJOURNAL # Enable gjournal-based UFS = journaling >> +options QUOTA # Enable disk quotas for UFS >=20 >> +options SYSVSHM # SYSV-style shared memory >> +options SYSVMSG # SYSV-style message queues >> +options SYSVSEM # SYSV-style semaphores >> +device agp # support several AGP = chipsets >> +device random # Entropy device >> +device padlock_rng # VIA Padlock RNG >> +device rdrand_rng # Intel Bull Mountain = RNG >> +device vlan # 802.1Q VLAN support >> +device tun # Packet tunnel. >> +device gif # IPv6 and IPv4 = tunneling >=20 > This is loadable too. True > And please include: >=20 > NETMAP > NFS_ROOT OK. > IEEE80211_DEBUG > IEEE80211_AMPDU_AGE > IEEE80211_SUPPORT_MESH > AH_SUPPORT_AR5416 > AH_AR5416_INTERRUPT_MITIGATION > ATH_ENABLE_11N These are already the default for the ath or wlan modules, if I=E2=80=99m = reading things correctly. Warner --Apple-Mail=_65FB83AD-70C3-461A-919C-123C2F9D7492 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 iQIcBAEBCgAGBQJUuVEiAAoJEGwc0Sh9sBEA7w4QALcHU+Ii+UEQHX5D/fHUzlF5 o+gxUJqgQaylDai0ly+vnh1qRj3PkFA8O/crkzNWBZCHcL4Uf7Sd0/ArySd1O9nK S77HBYzizTybaDekB795a9H2IINu+N/cazOMdjbhIa3tO1031adq7KMKT2LYKiO1 mrarlEaxAInetFDOAOxXHwWrCHZIUmeljHGtPZJJOP+RVb30uknGLrCbTyHAOBSJ tJwh3mPmpWmDoyyzXdJb/EQUYNw46n6EQyrlBTqB1HXMaPVwm3/HiXbUDXuajv6l Y9P9i1cUcQ89UTzfHPJYXgN6OI1Hn+TX+hZpqKYG9nCtWlrfyPQTfTHTDzHmXmVM CWyiTteC3QPcILPhZnNbiwKdusjLMMvJNmW1WeMqkBiOpM1C+HtijjVeOlmMRay8 nTj0pRgTTDYAkC37i4nNaUmruY/J3U6lDCOKptcQMvXMhiSYBd/6Xuhynen3o5Ol vfJchQm5PkCBd65RHbep1Dsy26ycJlKS7F7TDmxsbzvGTBihGFkGtx1tw6o4F6K+ tRAlHjSFlaGIVBoRE+cA5MK8GjFsL/wZFe5c2jptyGtMM2wX0Fk83s5DUhhjzSo8 Oe+7Oceygz3JnQ1RVJGPfaPkOZWCOWZ1DdTrS1EYMsg/EcB6gmwVcfISgOEroQ1l ry+5AeEdFUDVqqeTCSlM =qSFR -----END PGP SIGNATURE----- --Apple-Mail=_65FB83AD-70C3-461A-919C-123C2F9D7492--