From: Fan Du Date: Wed, 3 Jul 2013 22:05:19 +0000 (-0700) Subject: lib/percpu_counter.c: __this_cpu_write() doesn't need to be protected by spinlock X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~17^2~238 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=64df3071a97f20767f63b88c573791691a855b5c;p=pandora-kernel.git 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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed