clear_bit_unlock(9)
π clear_bit_unlock(9) π
Kernel API Manual β¨
πΈ NAME πΈ
clear_bit_unlock β clears a bit in memory, for unlock. that's the assignment bestie π
β¨ SYNOPSIS β¨
void clear_bit_unlock (long nr , volatile unsigned long *addr );
π ARGUMENTS π
nrβ the bit to set. yes, that's what the page says, no cap π«Άaddrβ the address to start counting from.
π DESCRIPTION π
okay so here's the vibe check: this operation is atomic and provides release barrier semantics. that's literally it, and that's iconic. β¨
π¦ SEE ALSO π¦
- Kernel file
./include/asm-generic/bitops/instrumented-lock.h __clear_bit_unlock(9)test_and_set_bit_lock(9)xor_unlock_is_negative_byte(9)
mwah π this cutie came from the source/version ./include/asm-generic/bitops, dated October 2026. clear_bit_unlock(9) signing off π«Άπ
π¦ 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