ttm_bo_kunmap(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ttm_bo_kunmap(9) β€” Kernel API Manual, bestie edition ✨

okay so this is ttm_bo_kunmap, from the Kernel API Manual β€” yes the section (9) one, the kernel-internals section, we love a niche queen πŸŽ€

✨ NAME ✨

ttm_bo_kunmap β€” and ngl, upstream literally left the description blank after the dash πŸ™ˆ so what you see is what you get, no cap. The name is the whole name.

🌸 SYNOPSIS 🌸

void ttm_bo_kunmap (struct ttm_bo_kmap_obj *map );

that's it. that's the whole thing. short and iconic πŸ’…

πŸ¦‹ ARGUMENTS πŸ¦‹

  • map β€” the object describing the map you wanna unmap. like, the receipt for the mapping. hand it back 🫢

πŸ’– DESCRIPTION πŸ’–

So bestie, real talk: this undoes a kernel map that was set up by ttm_bo_kmap. That's the whole job. kmap gives you a kernel map, kunmap takes it away β€” they're giving matched set energy, main character and their plus-one 😭✨

it's void, so it doesn't hand you back an error code or anything, it just does the thing. periodt.

πŸ”₯ SEE ALSO πŸ”₯

literally the whole friend group, go say hi πŸ‘‘

and if you wanna read the actual source (iconic behaviour honestly), it lives in the kernel file ./drivers/gpu/drm/ttm/ttm_bo_util.c 🧚


lowkey the whole point: mapped it? unmapped it. balance restored 🌈

k byeeee, this page was brought to you by the fine folks at ./drivers/gpu/drm/ttm, dated October 2026, and it's ttm_bo_kunmap(9) signing off β€” mwah πŸ’œπŸ“

πŸ“¦ where this page comes from