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] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080831190916.GA15931@2ka.mipt.ru>
Date:	Sun, 31 Aug 2008 23:09:17 +0400
From:	Evgeniy Polyakov <johnpol@....mipt.ru>
To:	Daniele Lacamera <root@...ielinux.net>
Cc:	netdev@...r.kernel.org, angelo.tornese@...il.com
Subject: Re: [PATCH] *icsk_ca_priv: Reduce inet_connection_sock size?

Hi.

On Sun, Aug 31, 2008 at 08:26:50PM +0200, Daniele Lacamera (root@...ielinux.net) wrote:
> This simple patch (2.6.26) replaces the icsk_ca_priv big array with a
> void pointer, reducing the default inet_connection_sock size by 60Bytes.
> 
> Each "congestion controlled" socket must allocate and free its own priv
> structure if needed, from the connection init and release callbacks
> inside each module.
> 
> Wouldn't this reduce memory usage for sockets that don't use ca?

This will also increase number of allocations in the fast path, isn't
it? This overhead is not acceptible.

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

Powered by Openwall GNU/*/Linux Powered by OpenVZ