]> asedeno.scripts.mit.edu Git - linux.git/commit
tcp: use this_cpu_read(*X) instead of *this_cpu_ptr(X)
authorEric Dumazet <edumazet@google.com>
Sat, 1 Jun 2019 02:17:33 +0000 (19:17 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 3 Jun 2019 22:09:34 +0000 (15:09 -0700)
commit5472c3c6a5f0573a609f77adce8ed1bd54233c7a
treeaec86becfb120b7fee84bdaa37c0861ccc6933f4
parent046386ca0c48cca1d91563db63a8eb0aff71f2b7
tcp: use this_cpu_read(*X) instead of *this_cpu_ptr(X)

this_cpu_read(*X) is slightly faster than *this_cpu_ptr(X)

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_ipv4.c