public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: + allow-proc-configgz-to-be-built-as-a-module.patch added to -mm tree
@ 2006-10-02  7:08 Mikael Pettersson
  2006-10-02 10:42 ` Olivier Galibert
  0 siblings, 1 reply; 15+ messages in thread
From: Mikael Pettersson @ 2006-10-02  7:08 UTC (permalink / raw)
  To: akpm, rdunlap; +Cc: linux-kernel, rossb, sam

On Sun, 1 Oct 2006 18:17:02 -0700, Randy Dunlap wrote:
> > > > The patch titled
> > > > 
> > > >      allow /proc/config.gz to be built as a module
> > > > 
> > > > has been added to the -mm tree.  Its filename is
...
> Can any of the distro people chime in here?  Andrew merged this
> patch to mainline today.  Several people had disagreed with merging
> it, but now Andrew says we need more discussion (if or) in order to
> revert it.

Merged into -mm or not, modular /proc/config.gz remains an
utterly redundant kernel feature that user-space doesn't need.

User-space knows how to locate modules for the running kernel,
including the module implementing /proc/config.gz; therefore
it can replace the module file with the corresponding config
data, without loss of functionality.

All that's needed is to standardise the location of the
config file; /lib/modules/`uname -r`/config.gz seems a
reasonable choice.

^ permalink raw reply	[flat|nested] 15+ messages in thread
* Re: + allow-proc-configgz-to-be-built-as-a-module.patch added to -mm tree
@ 2006-10-02 11:23 Mikael Pettersson
  0 siblings, 0 replies; 15+ messages in thread
From: Mikael Pettersson @ 2006-10-02 11:23 UTC (permalink / raw)
  To: galibert, mikpe; +Cc: akpm, linux-kernel, rdunlap, rossb, sam

On Mon, 2 Oct 2006 12:42:09 +0200, Olivier Galibert wrote:
> On Mon, Oct 02, 2006 at 09:08:08AM +0200, Mikael Pettersson wrote:
> > All that's needed is to standardise the location of the
> > config file; /lib/modules/`uname -r`/config.gz seems a
> > reasonable choice.
> 
> It's already /boot/config-`uname -r`, why change?

I just wanted to show that the instant /proc/config.gz gets implemented
as a loadable module, it no longer needs to be in the kernel at all,
and in the heat of the moment I forgot about the /boot/config-`uname -r`
convention. I am certainly not suggesting that that convention should be changed.

/Mikael

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2006-10-02 11:24 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <200609152158.k8FLw7ud018089@shell0.pdx.osdl.net>
2006-09-15 22:47 ` + allow-proc-configgz-to-be-built-as-a-module.patch added to -mm tree Randy.Dunlap
2006-09-15 23:04   ` rossb
2006-09-15 23:11     ` Randy.Dunlap
2006-09-15 23:41   ` Andrew Morton
2006-09-16  0:14     ` Randy.Dunlap
2006-09-16  0:23     ` Olivier Galibert
2006-09-16  0:33     ` Adrian Bunk
2006-10-02  1:17     ` Randy Dunlap
2006-10-02  6:32       ` Olaf Hering
2006-09-16 11:47   ` Arjan van de Ven
2006-09-17  0:48     ` rossb
2006-09-17  1:13       ` Adrian Bunk
2006-10-02  7:08 Mikael Pettersson
2006-10-02 10:42 ` Olivier Galibert
  -- strict thread matches above, loose matches on Subject: below --
2006-10-02 11:23 Mikael Pettersson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox