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-next>] [day] [month] [year] [list]
Date:	Sun, 31 Aug 2008 20:26:50 +0200
From:	Daniele Lacamera <root@...ielinux.net>
To:	netdev@...r.kernel.org
CC:	angelo.tornese@...il.com
Subject: [PATCH] *icsk_ca_priv: Reduce inet_connection_sock size?

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?


Thanks

-- 
Daniele


View attachment "reduce_icsk_ca_priv_size.diff" of type "text/x-diff" (10495 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ