Fan Du 6caa1815cb lib/percpu_counter.c: __this_cpu_write() doesn't need to be protected by spinlock
__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
2021-11-06 02:18:06 +08:00
..
2020-05-18 01:21:42 +08:00
2020-05-18 01:35:04 +08:00
2021-11-06 02:17:49 +08:00