]> git.baikalelectronics.ru Git - kernel.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)
commit602882f6d26a898938325689ad8f3d381accb433
treeaec86becfb120b7fee84bdaa37c0861ccc6933f4
parent4f57cb5db4023b4d0eae4f70e2e9671c5ce046b3
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