raw_atomic64_xchg_release(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay bestie, welcome to the raw_atomic64_xchg_release(9) page from the Kernel API Manual πŸ’… β€” it's literally raw_atomic64_xchg_release, aka atomic exchange with release ordering. no cap.

✨ SYNOPSIS ✨

s64 raw_atomic64_xchg_release (atomic64_t *v , s64 new );

🫢 ARGUMENTS 🫢

  • v β€” pointer to atomic64_t, the main character being updated.
  • new β€” the s64 value to assign.

🌸 DESCRIPTION 🌸

Atomically updates v to new with release ordering. iconic behavior ✨

It's safe to use in noinstr code β€” but elsewhere, bestie, prefer atomic64_xchg_release instead. that's the vibe check 🫢

πŸ”₯ RETURN πŸ”₯

The original value of v. literally handing you the old one back πŸ’–

πŸ¦‹ SEE ALSO πŸ¦‹


okay that's the whole vibe πŸ’– this page is sourced from ./include/linux/atomic, dated October 2026, and it's literally the raw_atomic64_xchg_release(9) manual page. bye bestie 🫢✨

πŸ“¦ where this page comes from