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

From: Al Boldi
Date: Fri Aug 07 2009 - 00:03:12 EST


Greg KH wrote:
> On Thu, Aug 06, 2009 at 11:18:05PM +0300, Al Boldi wrote:
> > So really, if devtmpfs compares to udev speeds then this just looks like
> > a devfs comeback. Remember, devfs was really slow.
>
> Again, there is no "speed" for devtmpfs on its own, the device nodes
> just appear when the devices are added to the kernel, the speed of that
> depends on the device discovery within the kernel, nothing else.

So on bootup this would mean a lot of discovery.

I think we could get some big speedup, by just dumping the possible
non-realized device list on bootup, and then just refine it on physical
access. This could make devtmpfs an acceptable replacement to static /dev.


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/