From: Prashant Bhole <[email protected]>
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 <[email protected]>
> Signed-off-by: Prashant Bhole <[email protected]>
> ---
> v1 -> v2: Added comment to explain why this change is safe

Applied, thanks.

Reply via email to