Repository navigation
Commit 12a59ab
tcp: tcp_mtu_probe() is likely to exit early
Adding a likely() in tcp_mtu_probe() moves its code which used to
be inlined in front of tcp_write_xmit()
We still have a cache line miss to access icsk->icsk_mtup.enabled,
we will probably have to reorganize fields to help data locality.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>1 parent 75eefc6 commit 12a59ab
1 file changed
Lines changed: 9 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1932 | 1932 | | |
1933 | 1933 | | |
1934 | 1934 | | |
1935 | | - | |
1936 | 1935 | | |
| 1936 | + | |
1937 | 1937 | | |
1938 | 1938 | | |
1939 | | - | |
1940 | 1939 | | |
1941 | 1940 | | |
1942 | | - | |
| 1941 | + | |
1943 | 1942 | | |
1944 | 1943 | | |
1945 | 1944 | | |
1946 | 1945 | | |
1947 | 1946 | | |
1948 | 1947 | | |
1949 | | - | |
1950 | | - | |
1951 | | - | |
1952 | | - | |
1953 | | - | |
1954 | | - | |
| 1948 | + | |
| 1949 | + | |
| 1950 | + | |
| 1951 | + | |
| 1952 | + | |
| 1953 | + | |
| 1954 | + | |
1955 | 1955 | | |
1956 | 1956 | | |
1957 | 1957 | | |
| |||
0 commit comments