percpu_ref_tryget_live_rcu(9)
π percpu_ref_tryget_live_rcu(9) β Kernel API Manual π
πΈ NAME πΈ
percpu_ref_tryget_live_rcu β okay so bestie, this is literally the same as percpu_ref_tryget_live() but the caller is responsible for taking RCU. Yes, that means you. π
β¨ SYNOPSIS β¨
bool percpu_ref_tryget_live_rcu (struct percpu_ref *ref );
π ARGUMENTS π
refβ thepercpu_refto try-get. Thatβs the whole assignment, no cap. π«Ά
π¦ DESCRIPTION π¦
This function is safe to call as long as ref is between init and exit. Thatβs the vibe check, bestie β stay inside that window and youβre good. β¨
π₯ SEE ALSO π₯
Kernel file ./include/linux/percpu-refcount.h β go read it, iykyk π
percpu_ref_kill(9)percpu_ref_get_many(9)percpu_ref_get(9)percpu_ref_tryget_many(9)percpu_ref_tryget(9)percpu_ref_tryget_live(9)percpu_ref_put_many(9)percpu_ref_put(9)percpu_ref_is_dying(9)
xoxo, signing off from ./include/linux with the October 2026 edition of percpu_ref_tryget_live_rcu(9). ππΏ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms