diff options
author | 2015-04-10 06:07:18 -0700 | |
---|---|---|
committer | 2015-04-12 21:16:05 -0400 | |
commit | 52db70dca5c206741f4f5c89410a2d32864f9840 (patch) | |
tree | 062b1d5355a19d40047ce39798bf38e9cfddeb7a /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | Merge tag 'mac80211-next-for-davem-2015-04-10' of git://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next (diff) | |
download | wireguard-linux-52db70dca5c206741f4f5c89410a2d32864f9840.tar.xz wireguard-linux-52db70dca5c206741f4f5c89410a2d32864f9840.zip |
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 <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions