summaryrefslogtreecommitdiffstats
path: root/COPYING
diff options
context:
space:
mode:
authorKent Overstreet <koverstreet@google.com>2013-06-03 16:02:29 -0700
committerTejun Heo <tj@kernel.org>2013-06-03 16:04:04 -0700
commitc1ae6e9b4db00023b9caed72af49a93abad46452 (patch)
tree3bd3a5c78af7a7a18d6f390f651b8f5dbaba4c0b /COPYING
parent215e262f2aeba378aa192da07c30770f9925a4bf (diff)
downloadop-kernel-dev-c1ae6e9b4db00023b9caed72af49a93abad46452.zip
op-kernel-dev-c1ae6e9b4db00023b9caed72af49a93abad46452.tar.gz
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 <koverstreet@google.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud