PSP LOCKING(9)
π PSP locking
okay so this page is from the Kernel API Manual, and it's short but bestie, it's important π«Ά
psp_devs_lock protects the psp_devs xarray, periodt. π
The ordering is the whole vibe: you take psp_devs_lock first, and then the instance lock. That's the rule β don't flip it. π
Each instance is protected by RCU, and it has a refcount. β¨
When a driver unregisters, the instance gets flushed, but the struct sticks around. Not it refusing to leave the group chat π
πΈ SEE ALSO πΈ
- Kernel file
./net/psp/psp_main.c psp_dev_check_access(9)psp_dev_create(9)psp_dev_unregister(9)
xoxo, this one is from ./net/psp, dated October 2026 π go be iconic with those locks, bestie β¨
π¦ 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