From: Kent Overstreet Date: Mon, 3 Jun 2013 23:02:29 +0000 (-0700) Subject: percpu-refcount: Don't use silly cmpxchg() X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~46^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c1ae6e9b4db00023b9caed72af49a93abad46452;p=pandora-kernel.git percpu-refcount: Don't use silly cmpxchg() The cmpxchg() was just to ensure the debug check didn't race, which was a bit excessive. The caller is supposed to do the appropriate synchronization, which means percpu_ref_kill() can just do a simple store. Signed-off-by: Kent Overstreet Signed-off-by: Tejun Heo --- Reading git-diff-tree failed