diff options
author | David S. Miller <davem@davemloft.net> | 2017-12-03 10:18:28 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-12-03 10:18:28 -0500 |
commit | c6d3c96f8d52b8f16de73e778717641e659c4ccc (patch) | |
tree | 192e4e3b567edec06ed12c2e7d7ac715ee7ba485 /include/linux/swapfile.h | |
parent | fb7516d42478ebc8e2f00efb76ef96f7b68fd8d3 (diff) | |
parent | 27da6d37e207e7ad9c692d3d0924f09e63a98e38 (diff) |
Merge branch 'tcp-2nd-listener-hash'
Martin KaFai Lau says:
====================
tcp: Add a 2nd listener hashtable (port+addr)
This patch set adds a 2nd listener hashtable. It is to resolve
the performance issue when a process is listening at many IP
addresses with the same port (e.g. [IP1]:443, [IP2]:443... [IPN]:443)
v2:
- Move the new lhash2 and lhash2_mask before the existing
listening_hash to avoid adding another cacheline
to inet_hashinfo (Suggested by Eric Dumazet, Thanks!)
- I take this chance to plug an existing 4 bytes hole while
adding 'unsigned int lhash2_mask'.
- Add some comments about lhash2 in inet_hashtables.h
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/swapfile.h')
0 files changed, 0 insertions, 0 deletions