Re: [PATCH] percpu_counter: percpu_counter_hotcpu_callback() cleanup
From: Tejun Heo
Date: Fri Jan 20 2017 - 10:09:33 EST
On Fri, Jan 20, 2017 at 06:34:22AM -0800, Eric Dumazet wrote:
> From: Eric Dumazet <edumazet@xxxxxxxxxx>
>
> In commit ebd8fef304f9 ("percpu_counter: make percpu_counters_lock
> irq-safe") we disabled irqs in percpu_counter_hotcpu_callback()
>
> We can grab every counter spinlock without having to disable
> irqs again.
>
> Signed-off-by: Eric Dumazet <edumazet@xxxxxxxxxx>
> Cc: Tejun Heo <tj@xxxxxxxxxx>
Applied to percpu/for-4.11.
Thanks.
--
tejun