[PATCH] *icsk_ca_priv: Reduce inet_connection_sock size?

flat view
DORMANTno replies

From: Daniele Lacamera <hidden>
Date: 2008-08-31 18:31:59

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

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help