mtrr_del_page(9)
π mtrr_del_page(9) β Kernel API Manual π
okay bestie, this is the mtrr_del_page(9) page from the Kernel API Manual, and it's lowkey iconic kernel-internals content β¨
πΈ NAME πΈ
mtrr_del_page β delete a memory type region π§
β¨ SYNOPSIS β¨
int mtrr_del_page (int reg , unsigned long base , unsigned long size );
π ARGUMENTS π
regβ Register returned bymtrr_addπ«Άbaseβ Physical base address πΈsizeβ Size of region π
π DESCRIPTION π
okay so if the register is supplied, then base and size are ignored β and that's literally how drivers should call it, fr fr.
It releases an MTRR region. If the usage count drops to zero, the register is freed and the region returns to default state. On success the register is returned; on failure, a negative error code. periodt. π
π SEE ALSO π
- Kernel file
./arch/x86/kernel/cpu/mtrr/mtrr.c mtrr_rendezvous_handler(9)set_mtrr(9)mtrr_add_page(9)mtrr_add(9)mtrr_del(9)arch_phys_wc_add(9)mtrr_bp_init(9)mtrr_save_state(9)
byeee π«Ά this page's source/version is ./arch/x86/kernel/cpu/mtrr, dated October 2026. mwah π
π¦ 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