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

From: Al Boldi
Date: Tue Aug 11 2009 - 08:48:32 EST


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. devtmpfs seems bloaty due to the hotplug dependency.


Thanks!

--
Al

--
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/