mtrr_del_page(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 by mtrr_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 🌈


byeee 🫢 this page's source/version is ./arch/x86/kernel/cpu/mtrr, dated October 2026. mwah πŸ’‹

πŸ“¦ where this page comes from