summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2015-01-06 16:26:10 +0100
committerTejun Heo <tj@kernel.org>2015-01-06 16:26:10 +0100
commit4c907baf36d8339f393bb576d0bab29194d0e6ad (patch)
tree86a550f40df9f004913f5b6db4b1e3b69e7d040e /Documentation
parentpercpu_ref: remove unnecessary ACCESS_ONCE() in percpu_ref_tryget_live() (diff)
downloadlinux-4c907baf36d8339f393bb576d0bab29194d0e6ad.tar.xz
linux-4c907baf36d8339f393bb576d0bab29194d0e6ad.zip
percpu_ref: implement percpu_ref_is_dying()
Implement percpu_ref_is_dying() which tests whether the ref is dying or dead. This is useful to determine the current state when a percpu_ref is used as a cyclic on/off switch via kill and reinit. Signed-off-by: Tejun Heo <tj@kernel.org> Cc: Kent Overstreet <kmo@daterainc.com>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions