PSP LOCKING(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 🌸


xoxo, this one is from ./net/psp, dated October 2026 πŸ’– go be iconic with those locks, bestie ✨

πŸ“¦ where this page comes from