mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-23 07:01:23 +00:00
tcp: shrink tcp_timewait_sock by 8 bytes
Reducing tcp_timewait_sock from 280 bytes to 272 bytes allows SLAB to pack 15 objects per page instead of 14 (on x86) Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
ed53d0ab76
commit
d475f090bf
2 changed files with 4 additions and 2 deletions
|
@ -356,8 +356,8 @@ static inline struct tcp_sock *tcp_sk(const struct sock *sk)
|
|||
|
||||
struct tcp_timewait_sock {
|
||||
struct inet_timewait_sock tw_sk;
|
||||
u32 tw_rcv_nxt;
|
||||
u32 tw_snd_nxt;
|
||||
#define tw_rcv_nxt tw_sk.__tw_common.skc_tw_rcv_nxt
|
||||
#define tw_snd_nxt tw_sk.__tw_common.skc_tw_snd_nxt
|
||||
u32 tw_rcv_wnd;
|
||||
u32 tw_ts_offset;
|
||||
u32 tw_ts_recent;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue