__acquires_shared(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– __acquires_shared(9) β€” Kernel API Manual πŸ’–

🌸 NAME 🌸

__acquires_shared is a function attribute β€” and it declares that the function acquires the given context lock instance(s) with shared access. That's the whole name-drop, bestie. ✨

✨ SYNOPSIS ✨

__acquires_shared (... );

πŸŽ€ ARGUMENTS πŸŽ€

  • ... β€” variable arguments. literally ..., variable arguments, no cap.

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so __acquires_shared is a function attribute. It declares that the function acquires the given context lock instance(s) with shared access β€” but it does not release them. It's giving "i'm the one grabbing the shared lock," not "i'm the one letting it go." 🫢 That's it. That's the lore. πŸ’…

πŸ‘€ SEE ALSO πŸ‘€

Kernel file: ./include/linux/compiler-context-analysis.h β€” go read these, iykyk:


mwah πŸ’‹ β€” source/version ./include/linux, date October 2026, page __acquires_shared(9). bye bestie! 🫢

πŸ“¦ where this page comes from