Re: svn commit: r277204 - head/sys/amd64/conf

2015-01-21 Thread John-Mark Gurney
Adrian Chadd wrote this message on Fri, Jan 16, 2015 at 10:43 -0800: > When I've done what you're doing, I end up having these options in my > minimal config file so opt_xxx.h is correctly populated. That way when > I point SYSDIR (or whichever variable it is) at the configured kernel > directory w

Re: svn commit: r277204 - head/sys/amd64/conf

2015-01-17 Thread Alexey Dokuchaev
On Thu, Jan 15, 2015 at 04:23:03PM +0300, Slawa Olhovchenkov wrote: > 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. Nice point I missed in earlier replies. In my sta

Re: svn commit: r277204 - head/sys/amd64/conf

2015-01-17 Thread Alexey Dokuchaev
Among emails in this thread, Warner Losh wrote: [ so to avoid replying on per-email bases ] > (2) is the exact problem I'm 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

Re: svn commit: r277204 - head/sys/amd64/conf

2015-01-16 Thread Slawa Olhovchenkov
On Fri, Jan 16, 2015 at 10:57:54AM -0700, Warner Losh wrote: > > > On Jan 15, 2015, at 6:23 AM, Slawa Olhovchenkov wrote: > > > > On Thu, Jan 15, 2015 at 12:42:07AM +, Warner Losh wrote: > > > >> Author: imp > >> Date: Thu Jan 15 00:42:06 2015 > >> New Revision: 277204 > >> URL: https://sv

Re: svn commit: r277204 - head/sys/amd64/conf

2015-01-16 Thread Warner Losh
> On Jan 16, 2015, at 11:52 AM, Adrian Chadd wrote: > > On 16 January 2015 at 10:48, Warner Losh wrote: > > >> Options aren’t supposed to change KBI. Some do, and that’s unfortunate. > > Yup, and at least for net80211 I'm going to try really hard to fix that. > >> But don’t turn this into a

Re: svn commit: r277204 - head/sys/amd64/conf

2015-01-16 Thread Adrian Chadd
On 16 January 2015 at 10:48, Warner Losh wrote: > Options aren’t supposed to change KBI. Some do, and that’s unfortunate. Yup, and at least for net80211 I'm going to try really hard to fix that. > But don’t turn this into a rant on how sub-optimal the opt_.h > intersect with modules. That’

Re: svn commit: r277204 - head/sys/amd64/conf

2015-01-16 Thread Warner Losh
> On Jan 16, 2015, at 11:43 AM, Adrian Chadd wrote: > > On 16 January 2015 at 09:57, Warner Losh wrote: >> >>> On Jan 15, 2015, at 6:23 AM, Slawa Olhovchenkov wrote: >>> >>> On Thu, Jan 15, 2015 at 12:42:07AM +, Warner Losh wrote: >>> Author: imp Date: Thu Jan 15 00:42:06 2015

Re: svn commit: r277204 - head/sys/amd64/conf

2015-01-16 Thread Adrian Chadd
On 16 January 2015 at 09:57, Warner Losh wrote: > >> On Jan 15, 2015, at 6:23 AM, Slawa Olhovchenkov wrote: >> >> On Thu, Jan 15, 2015 at 12:42:07AM +, Warner Losh wrote: >> >>> Author: imp >>> Date: Thu Jan 15 00:42:06 2015 >>> New Revision: 277204 >>> URL: https://svnweb.freebsd.org/changes

Re: svn commit: r277204 - head/sys/amd64/conf

2015-01-16 Thread Warner Losh
> On Jan 15, 2015, at 9:20 AM, Alexey Dokuchaev wrote: > > On Thu, Jan 15, 2015 at 10:51:55AM -0500, John Baldwin wrote: >>> [...] >>> +# Pseudo devices. >>> +device loop# Network loopback >>> +device random # Entropy device >>> +devic

Re: svn commit: r277204 - head/sys/amd64/conf

2015-01-16 Thread Warner Losh
> On Jan 15, 2015, at 6:44 AM, Alexey Dokuchaev wrote: > > On Thu, Jan 15, 2015 at 04:23:03PM +0300, Slawa Olhovchenkov wrote: >> On Thu, Jan 15, 2015 at 12:42:07AM +, Warner Losh wrote: >>> New Revision: 277204 >>> URL: https://svnweb.freebsd.org/changeset/base/277204 >>> >>> Log: >>> New

Re: svn commit: r277204 - head/sys/amd64/conf

2015-01-16 Thread Warner Losh
> On Jan 15, 2015, at 6:23 AM, Slawa Olhovchenkov wrote: > > On Thu, Jan 15, 2015 at 12:42:07AM +, Warner Losh wrote: > >> Author: imp >> Date: Thu Jan 15 00:42:06 2015 >> New Revision: 277204 >> URL: https://svnweb.freebsd.org/changeset/base/277204 >> >> Log: >> New MINIMAL kernel config

Re: svn commit: r277204 - head/sys/amd64/conf

2015-01-15 Thread Alexey Dokuchaev
On Thu, Jan 15, 2015 at 10:51:55AM -0500, John Baldwin wrote: > > [...] > > +# Pseudo devices. > > +device loop# Network loopback > > +device random # Entropy device > > +device padlock_rng # VIA Padlock RNG > > +d

Re: svn commit: r277204 - head/sys/amd64/conf

2015-01-15 Thread John Baldwin
On 1/14/15 7:42 PM, Warner Losh wrote: > Author: imp > Date: Thu Jan 15 00:42:06 2015 > New Revision: 277204 > URL: https://svnweb.freebsd.org/changeset/base/277204 > > Log: > New MINIMAL kernel config. The goal with this configuration is to > only compile in those options in GENERIC that cann

Re: svn commit: r277204 - head/sys/amd64/conf

2015-01-15 Thread Alexey Dokuchaev
On Thu, Jan 15, 2015 at 05:35:41PM +0300, Andrey V. Elsukov wrote: > On 15.01.2015 17:08, Alexey Dokuchaev wrote: > > When you read one big file *once* you don't have to worry about caching > > reads. With everything moved to modules, loader does a lot of > > superfluous disk access, and to remedy

Re: svn commit: r277204 - head/sys/amd64/conf

2015-01-15 Thread Andrey V. Elsukov
On 15.01.2015 17:08, Alexey Dokuchaev wrote: >> reading large monolitic kernel is slow too. > > But not nearly as slow as loading 50-60 modules at boot time (on my stable/8 > I have 59 right now). When you read one big file *once* you don't have to > worry about caching reads. With everything mo

Re: svn commit: r277204 - head/sys/amd64/conf

2015-01-15 Thread Alexey Dokuchaev
On Thu, Jan 15, 2015 at 04:53:42PM +0300, Slawa Olhovchenkov wrote: > On Thu, Jan 15, 2015 at 01:44:46PM +, Alexey Dokuchaev wrote: > > 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 o

Re: svn commit: r277204 - head/sys/amd64/conf

2015-01-15 Thread Slawa Olhovchenkov
On Thu, Jan 15, 2015 at 01:44:46PM +, Alexey Dokuchaev wrote: > On Thu, Jan 15, 2015 at 04:23:03PM +0300, Slawa Olhovchenkov wrote: > > On Thu, Jan 15, 2015 at 12:42:07AM +, Warner Losh wrote: > > > New Revision: 277204 > > > URL: https://svnweb.freebsd.org/changeset/base/277204 > > > > >

Re: svn commit: r277204 - head/sys/amd64/conf

2015-01-15 Thread Alexey Dokuchaev
On Thu, Jan 15, 2015 at 04:23:03PM +0300, Slawa Olhovchenkov wrote: > On Thu, Jan 15, 2015 at 12:42:07AM +, Warner Losh wrote: > > New Revision: 277204 > > URL: https://svnweb.freebsd.org/changeset/base/277204 > > > > Log: > > New MINIMAL kernel config. The goal with this configuration is to

Re: svn commit: r277204 - head/sys/amd64/conf

2015-01-15 Thread Slawa Olhovchenkov
On Thu, Jan 15, 2015 at 12:42:07AM +, Warner Losh wrote: > Author: imp > Date: Thu Jan 15 00:42:06 2015 > New Revision: 277204 > URL: https://svnweb.freebsd.org/changeset/base/277204 > > Log: > New MINIMAL kernel config. The goal with this configuration is to > only compile in those optio