From: Eric Dumazet Date: Fri, 10 Apr 2015 13:07:18 +0000 (-0700) Subject: tcp: do not cache align timewait sockets X-Git-Tag: omap-for-v4.1/fixes-rc1~141^2~29 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=52db70dca5c206741f4f5c89410a2d32864f9840;p=pandora-kernel.git tcp: do not cache align timewait sockets With recent adoption of skc_cookie in struct sock_common, struct tcp_timewait_sock size increased from 192 to 200 bytes on 64bit arches. SLAB rounds then to 256 bytes. It is time to drop SLAB_HWCACHE_ALIGN constraint for twsk_slab. This saves about 12 MB of memory on typical configuration reaching 262144 timewait sockets, and has no noticeable impact on performance. Signed-off-by: Eric Dumazet Signed-off-by: David S. Miller --- Reading git-diff-tree failed