lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Thu, 22 Mar 2007 22:20:08 +0300
From:	Evgeniy Polyakov <johnpol@....mipt.ru>
To:	David Miller <davem@...emloft.net>
Cc:	shemminger@...ux-foundation.org, netdev@...r.kernel.org
Subject: Re: [ANN] Unified dynamic storage for different socket types instead of separate hash tables.

On Thu, Mar 22, 2007 at 12:14:41PM -0700, David Miller (davem@...emloft.net) wrote:
> From: Evgeniy Polyakov <johnpol@....mipt.ru>
> 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 majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists