mirror of
https://github.com/joel16/android_kernel_sony_msm8994_rework.git
synced 2025-02-17 00:29:21 +00:00
![Fan Du](/assets/img/avatar_default.png)
__this_cpu_write doesn't need to be protected by spinlock, AS we are doing per cpu write with preempt disabled. And another reason to remove __this_cpu_write outside of spinlock: __percpu_counter_sum is not an accurate counter. Signed-off-by: Fan Du <fan.du@windriver.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Change-Id: Ie3278388886f5cf01f67d6c268f73443cde9e8b5