Skip to content
  • Tejun Heo's avatar
    percpu_ref: implement percpu_ref_is_dying() · 4c907baf
    Tejun Heo authored
    
    
    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: default avatarTejun Heo <tj@kernel.org>
    Cc: Kent Overstreet <kmo@daterainc.com>
    4c907baf