Skip to content
Commit aaf0f2fa authored by Eric Dumazet's avatar Eric Dumazet Committed by Tejun Heo
Browse files

percpu_counter: percpu_counter_hotcpu_callback() cleanup



In commit ebd8fef3 ("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: default avatarEric Dumazet <edumazet@google.com>
Cc: Tejun Heo <tj@kernel.org>
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
parent 44b4b461
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment