Re: [PATCH] Driver Core: devtmpfs - kernel-maintained tmpfs-based/dev

From: Greg KH
Date: Tue Aug 11 2009 - 08:44:33 EST


On Tue, Aug 11, 2009 at 06:48:26AM +0300, Al Boldi wrote:
> Greg KH wrote:
> > On Sat, Aug 08, 2009 at 09:55:24PM +0300, Al Boldi wrote:
> > > Greg KH wrote:
> > > > On Sat, Aug 08, 2009 at 12:14:39PM +0300, Al Boldi wrote:
> > > > > Greg KH wrote:
> > > > > > On Sat, Aug 08, 2009 at 12:17:31AM +0300, Al Boldi wrote:
> > > > > > > For devtmpfs to be a realistic replacement for static /dev, it
> > > > > > > has to be comparable to static /dev in both speed and size.
> > > > > >
> > > > > > Since when is this requirement necessary? You want something for
> > > > > > free in both speed and size? Well, you got it in speed, but not
> > > > > > size, it will take up memory that is swapable, and a tiny ammount
> > > > > > of non-swapable kernel memory for the code.
> > > > >
> > > > > Not so tiny when you count in the hotplug dependency.
> > > >
> > > > devtmpfs does not rely on hotplug at all.
> > >
> > > Are you sure?
> > >
> > > This is from the patch of this thread:
> > > > +config DEVTMPFS
> > > > + bool "Create a kernel maintained /dev tmpfs (EXPERIMENTAL)"
> > > > + depends on HOTPLUG && SHMEM && TMPFS
> >
> > Ah, you're right.
> >
> > Ok then, since you don't run CONFIG_HOTPLUG kernels, why are you worried
> > about this code at all?
> >
> > confused,
>
> Linux used to be lean and mean which made it fun to work with, and which made
> the switch from the competition easy. Nowadays I see a lot of bloat going
> into the kernel which may indicate that Linux is starting to run out of
> steam.

That doesn't seem to make sense, if more development is happening, and
our number of contributors, different companies, and rate of change is
increasing, how are we "running out of steam"?

What specific development number is proof of us slowing down? I see
nothing but the exact, and extreme, opposite thing happening.

> devtmpfs seems bloaty due to the hotplug dependency.

Would you use it if we fix it to remove this dependancy?

Remember, the dependancy is the other way around here, if you don't want
a CONFIG_HOTPLUG system (and honestly, I really can't believe that you
run a system that interacts with the real world in a non-embedded manner
that way), then you do not also have the devtmpfs code. So your system
will be "light and tight", right?

So what really is your objection here? That we did not let devtmpfs
work within a CONFIG_HOTPLUG=n type system? Or that devtmpfs works with
the existing CONFIG_HOTPLUG=y systems (i.e. 99% of the world)?

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/