Re: [PATCH net-next] ipv6: use this_cpu_read() in rt6_get_pcpu_route()

2019-06-03 Thread David Miller
From: Eric Dumazet Date: Fri, 31 May 2019 18:11:25 -0700 > this_cpu_read(*X) is faster than *this_cpu_ptr(X) > > Signed-off-by: Eric Dumazet Applied.

[PATCH net-next] ipv6: use this_cpu_read() in rt6_get_pcpu_route()

2019-05-31 Thread Eric Dumazet
this_cpu_read(*X) is faster than *this_cpu_ptr(X) Signed-off-by: Eric Dumazet --- net/ipv6/route.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/net/ipv6/route.c b/net/ipv6/route.c index fada5a13bcb2a286bb20a350c1873b1b16dc866a..a72d01010cb6a734b2c4ee2dd865390d88e6a3b