ioremap_wt(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

ioremap_wt β€” map memory into CPU space, write through πŸ’…

okay so bestie, welcome to the Kernel API Manual! This page is ioremap_wt(9), and it's literally about mapping memory into CPU space with write-through energy. ✨

✨ SYNOPSIS ✨

void __iomem * ioremap_wt (resource_size_t phys_addr , unsigned long size );

πŸŽ€ ARGUMENTS πŸŽ€

  • phys_addr β€” bus address of the memory
  • size β€” size of the resource to map

πŸ’… DESCRIPTION πŸ’…

okay so this version of ioremap makes sure the memory is marked write through. Write through stores data into memory while keeping the cache up-to-date. Iconic, no cap. 🧚

πŸ’€ real talk: it must be freed with iounmap. Do not ghost it.

πŸ”₯ SEE ALSO πŸ”₯

Kernel file: ./arch/x86/mm/ioremap.c β€” and the squad is:


mwah πŸ’‹ this page comes from ./arch/x86/mm, dated October 2026. 🫢

πŸ“¦ where this page comes from