Re: [PATCH RFC] struct list_node

From: Rusty Russell
Date: Sun Jun 10 2007 - 20:09:26 EST


On Sun, 2007-06-10 at 13:19 -0700, Linus Torvalds wrote:
> And if you want a head, you really do want to use "hlist", since the head
> is smaller than a list entry (a single pointer rather than two).

No, now you're entirely missing the point.

The normal Linux lists are beautiful, and should be used! I share your
enthusiasm for them.

They could just use a little more type safety for the common case. That
is all.

Hope that clarifies,
Rusty.

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