cspg(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ 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