On Thu, Nov 14, 2002 at 06:44:31PM +0000, Matthew Wilcox wrote:
> Sure, I can do that. That leads me to think that maybe we should
> delete name from struct device and just use the one in struct kobject
> (which is already a mere 16 bytes). But if we're going to go as far
> down as the kobject... that has a dentry. And dentrys have names.
> So how about eliminating that too and just creating a dentry with the
> almost infinitely long name?
>
> Maybe that's too much at this stage of the game.
Using the dentry the PERFECT cleanup, because it removes ALL the
redundacy and provides infinite length (which is sometimes
needed) as well as an optimization for small
(DNAME_INLINE_LEN_MIN) names.
So it's the perfect string container, if needed anyway.
Regards
Ingo Oeser
-- Science is what we can tell a computer. Art is everything else. --- D.E.Knuth - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/