From: Prashant Bhole <bhole_prashant...@lab.ntt.co.jp> Date: Tue, 11 Dec 2018 11:43:07 +0900
> tun_xdp_one() runs with local bh disabled. So there is no need to > disable preemption by calling get_cpu_ptr while updating stats. This > patch replaces the use of get_cpu_ptr() with this_cpu_ptr() as a > micro-optimization. Also removes related put_cpu_ptr call. > > Acked-by: Jason Wang <jasow...@redhat.com> > Signed-off-by: Prashant Bhole <bhole_prashant...@lab.ntt.co.jp> > --- > v1 -> v2: Added comment to explain why this change is safe Applied, thanks.