diff options
author | Tejun Heo <tj@kernel.org> | 2015-01-06 16:26:10 +0100 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2015-01-06 16:26:10 +0100 |
commit | 4c907baf36d8339f393bb576d0bab29194d0e6ad (patch) | |
tree | 86a550f40df9f004913f5b6db4b1e3b69e7d040e /Documentation | |
parent | percpu_ref: remove unnecessary ACCESS_ONCE() in percpu_ref_tryget_live() (diff) | |
download | linux-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