On Thu, Mar 22, 2007 at 12:14:41PM -0700, David Miller ([EMAIL PROTECTED]) 
wrote:
> From: Evgeniy Polyakov <[EMAIL PROTECTED]>
> Date: Thu, 22 Mar 2007 22:09:40 +0300
> 
> > I specially have only one hash structure in the socket - skc_bind_node -
> > to be used for statistics and remove hash and skc_node (and for netlink
> > broadcasting too), so this code reduces socket structure by 12 bytes on
> > x86 (20 bytes on x86_64).
> 
> Yes, for your trie you've removed quite a bit, but now you're
> going to add 2 pointers right back right?

No, I will use the same hlist_node pointer (skc_bind_node) which was
there, and skc_node and skc_node are removed.

After all - we can traverse over the whole tree one-by one, it is even
possible to attach a bitmask to each level node (since it is an array)
of used/free entries and use it.

-- 
        Evgeniy Polyakov
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to