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  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Wed, 16 Jun 2010 11:56:18 -0700 (PDT)
From:	David Miller <davem@...emloft.net>
To:	eric.dumazet@...il.com
Cc:	netdev@...r.kernel.org
Subject: Re: [PATCH net-next-2.6] inetpeer: restore small inet_peer
 structures

From: Eric Dumazet <eric.dumazet@...il.com>
Date: Wed, 16 Jun 2010 16:52:13 +0200

> Addition of rcu_head to struct inet_peer added 16bytes on 64bit arches.
> 
> Thats a bit unfortunate, since old size was exactly 64 bytes.
> 
> This can be solved, using an union between this rcu_head an four fields,
> that are normally used only when a refcount is taken on inet_peer.
> rcu_head is used only when refcnt=-1, right before structure freeing.
> 
> Add a inet_peer_refcheck() function to check this assertion for a while.
> 
> We can bring back SLAB_HWCACHE_ALIGN qualifier in kmem cache creation.
> 
> Signed-off-by: Eric Dumazet <eric.dumazet@...il.com>

Applied, thanks Eric.
--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ