Re: [patch 00/13] devtmpfs
From: Arjan van de Ven
Date: Mon May 11 2009 - 09:06:02 EST
On Mon, 11 May 2009 13:34:52 +0200
Kay Sievers <kay.sievers@xxxxxxxx> wrote:
>
> > - That the other proposals are worse than yours.
>
> I also did, in exactly this thread.
no you have not. But I'd like you to ;)
You have not commented substantially on my counter proposal to make the
single file with the "device list" (eg char/block, major, minor, name)
so that userland can make the nodes in 0.01-or-less seconds, but
with the permissions/owners it wants and the tmpfs mount options it
wants.
Again this makes for a more flexible solution (not flexible in "if you
don't like it don't use it" sense but flexible in the "there's multiple
uses and ways to use it" sense) while keeping the benefits of what you
want to achieve.
Eric has shown that making the nodes itself and mounting the tmpfs is
basically free, but that the cost (0.05 seconds) was in groveling
through sysfs. Fixing that.. I'm all for it.
--
Arjan van de Ven Intel Open Source Technology Centre
For development, discussion and tips for power savings,
visit http://www.lesswatts.org
--
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/