sync_set_bit(9)
π NAME π
okay so bestie, this is the sync_set_bit(9) page from the Kernel API Manual β and it is literally the atomically set a bit in memory function. πβ¨
β¨ SYNOPSIS β¨
void sync_set_bit (long nr , volatile unsigned long *addr );
π ARGUMENTS π
nrβ the bit to set. like, which bit is getting the glow-up β¨addrβ the address to start counting from. that's the starting point, bestie π«Ά
π¦ DESCRIPTION π¦
This function is atomic and may not be reordered. periodt. no cap. If you do not require the atomic guarantees, see __set_bit β that's the one for when you don't need the atomic vibe. π
Heads up: nr may be almost arbitrarily large; this function is not restricted to acting on a single-word quantity. so yeah, it's not limited to one word, okay? π¦
π SEE ALSO π
- Kernel file
./arch/x86/include/asm/sync_bitops.h sync_clear_bit(9)sync_change_bit(9)sync_test_and_set_bit(9)sync_test_and_clear_bit(9)sync_test_and_change_bit(9)
π«Ά that's the whole page, bestie! source/version:./arch/x86/include/asmΒ· date:October 2026Β· page:sync_set_bit(9)π
π¦ 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