cspg(9)
π NAME π
hiii bestie, welcome to cspg(9) from the Kernel API Manual β the name situation is cspg β Compare and Swap and Purge (CSPG), and it's short but iconic. π«Ά
β¨ SYNOPSIS β¨
okay so the whole thing is literally this:
bool cspg (unsigned long *ptr , unsigned long old , unsigned long new );
πΈ ARGUMENTS πΈ
ptrβ Pointer to the value to be exchanged. πoldβ The expected old value. πnewβ The new value. β¨
π RETURN π
It gives you True if compare and swap was successful, otherwise false. no cap. π
π¦ SEE ALSO π¦
Go peek at the Kernel file ./arch/s390/include/asm/pgtable.h and also crdte(9) β iykyk. π
okay bestie, that's the whole vibe: source/version ./arch/s390/include/asm, dated October 2026. mwah π
π¦ 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