]> git.baikalelectronics.ru Git - kernel.git/commit
tcp/dccp: shrink struct listen_sock
authorEric Dumazet <edumazet@google.com>
Fri, 2 Oct 2015 18:43:33 +0000 (11:43 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 3 Oct 2015 11:32:42 +0000 (04:32 -0700)
commit75564c925c3d30ff1dc256642af647b8eed0adf2
tree0412d4d8c3d58625f838ad3fb6f7f044bfd9fcc4
parentaaf9f4668c2b678b9c55ea1a654ca59ebef2de3f
tcp/dccp: shrink struct listen_sock

We no longer use hash_rnd, nr_table_entries and syn_table[]

For a listener with a backlog of 10 millions sockets, this
saves 80 MBytes of vmalloced memory.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/request_sock.h
net/core/request_sock.c