__kfence_free(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… __kfence_free β€” from the Kernel API Manual, bestie πŸ’–

Okay so picture this: you've got a KFENCE heap object and it's time to let it go. This function is literally the send-off. πŸŽ€


✨ NAME ✨

__kfence_free β€” release a KFENCE heap object back to the KFENCE pool, no cap πŸ¦‹


🌸 SYNOPSIS 🌸

void __kfence_free (void *addr );

πŸ’œ ARGUMENTS πŸ’œ

  • addr β€” the object you're freeing. The one getting released. Its moment. πŸ‘‘

🧚 DESCRIPTION 🧚

Requires: is_kfence_address(addr) β€” like, this is not optional, bestie. Check it first. πŸ™ˆ

Release a KFENCE object and mark it as freed. That's the whole vibe: object released, marked freed, done. Slay. ✨


πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./include/linux/kfence.h, plus the whole friend group:


Anyways, that's the page! 🫢 It lives in ./include/linux, dated October 2026, and honestly? Iconic. Go free your objects responsibly, bestie. πŸ’…πŸŒˆ

πŸ“¦ where this page comes from