Re: CVS commit: src/sys/arch/amd64/conf

2011-02-19 Thread Scott Ellis
On 2/19/2011 8:13 AM, Matthias Drochner wrote: I think before modular kernels are forced onto the masses, at least 2 design problems should be fixed: 1. Autoloading needs to be done differently: The kernel doesn't have the smarts to know which module is needed in which situation, and ther

Re: CVS commit: src/lib/librumphijack

2011-02-19 Thread Joerg Sonnenberger
On Sat, Feb 19, 2011 at 07:54:25PM +0200, Antti Kantee wrote: > On Sat Feb 19 2011 at 14:58:45 +0100, Joerg Sonnenberger wrote: > > On Sat, Feb 19, 2011 at 01:10:36PM +, Antti Kantee wrote: > > > Module Name: src > > > Committed By: pooka > > > Date: Sat Feb 19 13:10:35 UTC

Re: CVS commit: src/sys

2011-02-19 Thread Matt Thomas
On Feb 19, 2011, at 2:05 PM, Mindaugas Rasiukevicius wrote: > David Laight wrote: >> On Sat, Feb 19, 2011 at 08:19:54PM +, Matt Thomas wrote: >>> >>> Log Message: >>> Default PCU_UNIT_COUNT to 0. If 0, don't compile the contents of >>> subr_pcu.c and don't include the pcu related members i

Re: CVS commit: src/sys

2011-02-19 Thread Mindaugas Rasiukevicius
David Laight wrote: > On Sat, Feb 19, 2011 at 08:19:54PM +, Matt Thomas wrote: > > > > Log Message: > > Default PCU_UNIT_COUNT to 0. If 0, don't compile the contents of > > subr_pcu.c and don't include the pcu related members into struct lwp. > > Making a structure layout depend on an optio

Re: CVS commit: src/sys

2011-02-19 Thread David Laight
On Sat, Feb 19, 2011 at 08:19:54PM +, Matt Thomas wrote: > > Log Message: > Default PCU_UNIT_COUNT to 0. If 0, don't compile the contents of subr_pcu.c > and don't include the pcu related members into struct lwp. Making a structure layout depend on an option is probably not a good idea! At l

Re: CVS commit: src/sys/arch

2011-02-19 Thread David Young
On Sat, Feb 19, 2011 at 01:52:29PM +, Jared D. McNeill wrote: > Log Message: > modularize VIA PadLock support > - retire options VIA_PADLOCK, replace with 'padlock0 at cpu0' > - driver supports attach & detach > - support building as a module Nice! Dave -- David Young OJC Tec

Re: CVS commit: src/lib/librumphijack

2011-02-19 Thread Antti Kantee
On Sat Feb 19 2011 at 14:58:45 +0100, Joerg Sonnenberger wrote: > On Sat, Feb 19, 2011 at 01:10:36PM +, Antti Kantee wrote: > > Module Name:src > > Committed By: pooka > > Date: Sat Feb 19 13:10:35 UTC 2011 > > > > Modified Files: > > src/lib/librumphijack: hija

Re: CVS commit: src/sys/arch/amd64/conf

2011-02-19 Thread Jean-Yves Migeon
On 19.02.2011 17:13, Matthias Drochner wrote: > > jeanyves.mig...@free.fr said: >> I can't see why MONOLITHIC is needed in the first place > > I think before modular kernels are forced onto the masses, > at least 2 design problems should be fixed: > 1. Autoloading needs to be done differently: Th

Re: CVS commit: src/sys/arch/amd64/conf

2011-02-19 Thread Matthias Drochner
jruoho...@iki.fi said: > Have you measured how much modules supposedly increase the size > compared to compiling things directly to the kernel? This seems like a > rather silly point to me (without numbers, at least). The difference is that I can control what is built into my kernel, but I can't

Re: CVS commit: src/sys/arch/amd64/conf

2011-02-19 Thread Jukka Ruohonen
On Sat, Feb 19, 2011 at 05:13:58PM +0100, Matthias Drochner wrote: > 2. I don't want tons of modules which I'll never need installed >into my root file system. As it was common in good old times (tm), >my root filesystems are as small as possible. Now, with modules >being added to the b

Re: CVS commit: src/sys/arch/amd64/conf

2011-02-19 Thread Matthias Drochner
jeanyves.mig...@free.fr said: > I can't see why MONOLITHIC is needed in the first place I think before modular kernels are forced onto the masses, at least 2 design problems should be fixed: 1. Autoloading needs to be done differently: The kernel doesn't have the smarts to know which module is

Re: CVS commit: src/sys/arch/amd64/conf

2011-02-19 Thread Jean-Yves Migeon
On 19.02.2011 10:27, Bernd Ernesti wrote: > On Wed, Feb 16, 2011 at 03:16:58AM +, Jean-Yves Migeon wrote: >> Module Name: src >> Committed By:jym >> Date:Wed Feb 16 03:16:58 UTC 2011 >> >> Modified Files: >> src/sys/arch/amd64/conf: GENERIC INSTALL >> >> Log Message

Re: CVS commit: src/sys/arch

2011-02-19 Thread Paul Goyette
Any chance we get a padlock(4) man page for this? :) On Sat, 19 Feb 2011, Jared D. McNeill wrote: Module Name:src Committed By: jmcneill Date: Sat Feb 19 13:52:29 UTC 2011 Modified Files: src/sys/arch/i386/conf: ALL GENERIC src/sys/arch/i386/i386: autoconf.c

Re: CVS commit: src/lib/librumphijack

2011-02-19 Thread Joerg Sonnenberger
On Sat, Feb 19, 2011 at 01:10:36PM +, Antti Kantee wrote: > Module Name: src > Committed By: pooka > Date: Sat Feb 19 13:10:35 UTC 2011 > > Modified Files: > src/lib/librumphijack: hijack.c > > Log Message: > hijack __getcwd() Why? Joerg

Re: CVS commit: src/sys/arch/amd64/conf

2011-02-19 Thread Adam Hamsik
On Feb,Saturday 19 2011, at 11:27 AM, Bernd Ernesti wrote: > On Wed, Feb 16, 2011 at 03:16:58AM +, Jean-Yves Migeon wrote: >> Module Name: src >> Committed By:jym >> Date:Wed Feb 16 03:16:58 UTC 2011 >> >> Modified Files: >> src/sys/arch/amd64/conf: GENERIC INSTA

Re: CVS commit: src/sys/arch/amd64/conf

2011-02-19 Thread Bernd Ernesti
On Wed, Feb 16, 2011 at 03:16:58AM +, Jean-Yves Migeon wrote: > Module Name: src > Committed By: jym > Date: Wed Feb 16 03:16:58 UTC 2011 > > Modified Files: > src/sys/arch/amd64/conf: GENERIC INSTALL > > Log Message: > Build certain file-systems and options(7) as module(7). 32