kunmap_high(9)

๐Ÿ“ฆ version 7.3.1, in nixpkgs unstable

okay so bestie, weโ€™re opening the kunmap_high(9) page from the Kernel API Manual, and no cap itโ€™s a tiny one but she still ate. hereโ€™s the whole thing with zero details left behind ๐Ÿ’–


๐ŸŽ€ NAME ๐ŸŽ€

kunmap_high โ€” unmap a highmem page into memory. yep, thatโ€™s the whole NAME-section mission statement, slay.

โœจ SYNOPSIS โœจ

void kunmap_high (const struct page *page );

๐Ÿซถ ARGUMENTS ๐Ÿซถ

  • page โ€” the struct page to unmap. that's the one and only argument, and sheโ€™s literally a struct page ๐Ÿ’…

๐ŸŒธ DESCRIPTION ๐ŸŒธ

so kunmap_high unmaps a highmem page into memory. and hereโ€™s the important caveat, bestie: if ARCH_NEEDS_KMAP_HIGH_GET is not defined, then this may be called only from user context. thatโ€™s the whole description, but itโ€™s giving very โ€œsmall function, big rulesโ€ energy ๐Ÿ‘‘

โš ๏ธ caveat cutie: ARCH_NEEDS_KMAP_HIGH_GET not being defined means โ€œuser context onlyโ€ for calls to this. keep that in mind, iykyk.

๐Ÿฆ‹ SEE ALSO ๐Ÿฆ‹

the whole squad + the kernel file:

mwah ๐Ÿ’‹ ok bye โ€” this iconic little page is from source/version ./mm, dated October 2026, and itโ€™s the kunmap_high(9) manual page. periodt โœจ

๐Ÿ“ฆ where this page comes from