sgx_free_epc_page(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

sgx_free_epc_page(9) πŸ’…

okay bestie, welcome to the Kernel API Manual entry for sgx_free_epc_page β€” yes, we're in kernel-land and this one is short but important. ✨


🌸 NAME 🌸

sgx_free_epc_page β€” Free an EPC page 🫢

✨ SYNOPSIS ✨

void sgx_free_epc_page (struct sgx_epc_page *page );

πŸŽ€ ARGUMENTS πŸŽ€

  • page β€” an EPC page. that's the one you're handing over, bestie πŸ’…

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so what this does: it puts the EPC page back onto the list of free pages. simple. iconic. πŸ”₯

but listen: it's the caller's responsibility to make sure that the page is in an uninitialized state. that means you have to do EREMOVE, EWB, or whatever operation is necessary before calling this function. no cap. do the cleanup first, then call it. πŸ’–

🌈 SEE ALSO 🌈

Kernel file ./arch/x86/kernel/cpu/sgx/main.c β€” go peek, iykyk πŸ‘€


mwah πŸ’‹ this page lives under ./arch/x86/kernel/cpu/sgx, and it's dated October 2026 β€” bye bestie πŸŽ€βœ¨

πŸ“¦ where this page comes from