set_locked(9)
set_locked(9) π β¨
okay so bestie, welcome to set_locked from the Kernel API Manual β she's giving tiny-but-iconic lock-bit energy, and we're gonna get you fully caught up π«Ά
β¨ NAME β¨
set_locked β Set the lock bit and own the lock π
πΈ SYNOPSIS πΈ
void set_locked (arena_spinlock_t __arena *lock );
π ARGUMENTS π
lockβ Pointer to queued spinlock structure π
π¦ DESCRIPTION π¦
The description is literally this transition notation, no cap:
*,*,0 -> *,0,1
That's the whole vibe. Not me getting a whole state transition handed to me like a group-chat read receipt ππ
π SEE ALSO π
- Kernel file:
./tools/testing/selftests/bpf/libarena/include/bpf_arena_spin_lock.hπ xchg_tail(9)clear_pending(9)clear_pending_set_locked(9)arena_spin_trylock(9)arena_spin_lock(9)arena_spin_unlock(9)
mwah π this little icon is from ./tools/testing/selftests/bpf/... and dated October 2026 β periodt, she's official β¨π
π¦ 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