kunmap_local(9)
π 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 π₯
- Kernel file
./include/linux/highmem-internal.h kunmap_atomic(9)
later bestie π«Ά β this one's from ./include/linux, dated October 2026, and the page is kunmap_local(9). 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