kunmap_local(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so this is kunmap_local(9) from the Kernel API Manual, and it's the function that unmaps a page mapped via kmap_local_page(). literally the cleanup bestie. slay. ✨

πŸ¦‹ SYNOPSIS πŸ¦‹

kunmap_local (__addr );

πŸŽ€ ARGUMENTS πŸŽ€

  • __addr β€” an address within the page mapped. that's the whole argument, bestie πŸ’…

🌸 DESCRIPTION 🌸

__addr can be any address within the mapped page. commonly it's the address return from kmap_local_page, but it can also include offsets β€” yes, offsets are allowed, no cap.

unmapping should be done in the reverse order of the mapping. like, reverse order, bestie 😭. see kmap_local_page for details.

πŸ”₯ SEE ALSO πŸ”₯


later bestie 🫢 β€” this one's from ./include/linux, dated October 2026, and the page is kunmap_local(9). mwah πŸ’‹

πŸ“¦ where this page comes from