]> 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)
commitf827879f595b664afbc3ec3ecf9e2dd4d158bc63
treeaec86becfb120b7fee84bdaa37c0861ccc6933f4
parentb3b3d03e4f4c2636e46ff4c12a0ceb085b4df991
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