sgx_encl_put_backing(9)
π sgx_encl_put_backing β a Kernel API Manual moment
okay bestie, so you've wandered into the Kernel API Manual (yes, that's the manual name, we love a formal moment) and the function we're obsessing over is literally called sgx_encl_put_backing. Say it with me. Slay.
β¨ NAME β¨
sgx_encl_put_backing β unpin the backing storage π«Ά
That's it. That's the whole vibe. It puts the backing storage back. Unpins it. Releases it from its little pin jail. Iconic behaviour tbh.
πΈ SYNOPSIS πΈ
void sgx_encl_put_backing(struct sgx_backing *backing);
Note the void β no return value, no dramatic exit status, she simply does the thing and leaves. Main character energy. π
π ARGUMENTS π
backingβ data for accessing backing storage for the page. That's the struct you hand over so she knows which backing storage we're unpinning. Nobacking, no unpinning. Them's the rules. π¦
β SEE ALSO β
Bestie, the link list is long and honestly kind of a flex. Here's everything she's connected to:
Kernel file ./arch/x86/kernel/cpu/sgx/encl.c β that's where the source lives, go look, iykyk. π
reclaimer_writing_to_pcmd(9)sgx_encl_eaug_page(9)sgx_encl_may_map(9)sgx_encl_release(9)sgx_encl_cpumask(9)__sgx_encl_get_backing(9)sgx_encl_alloc_backing(9)sgx_encl_lookup_backing(9)sgx_encl_test_and_clear_young(9)sgx_zap_enclave_ptes(9)sgx_alloc_va_page(9)sgx_alloc_va_slot(9)sgx_free_va_slot(9)sgx_va_page_full(9)sgx_encl_free_epc_page(9)
That's fifteen cross-references, no cap. A whole friend group. π§
lowkey reminder: this page came from./arch/x86/kernel/cpu/sgx, datedOctober 2026. So when you cite her, cite her correctly. π
k bye bestie, go unpin some backing storage, you're gonna do amazing πβ¨π
π¦ 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