mirror of
https://github.com/Evolution-X-Devices/kernel_google_b1c1
synced 2026-02-08 14:04:56 +00:00
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>
9.9 KiB
9.9 KiB