sq_unmap(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’œ sq_unmap(9) β€” the un-mapping icon ✨

okay bestie, welcome to the sq_unmap page from the Kernel API Manual πŸŽ€ this is the little cleanup queen of the SuperH store queue world, and she's here to take out the trash (the trash being a mapping you made earlier) πŸ’…


✨ SYNOPSIS ✨

void sq_unmap (unsigned long vaddr );

that's it. that's the whole vibe check. no return value, no drama, just vibes and a void 🫢


🌸 ARGUMENTS 🌸

  • vaddr β€” the Pre-allocated Store Queue mapping, i.e. the address of the mapping you already set up. you're handing it over and saying "yeah this one, take it away bestie" πŸ™ˆ

πŸ¦‹ DESCRIPTION πŸ¦‹

so like. remember that store queue allocation map you made earlier with sq_remap? yeah. sq_unmap is the one who unmaps it. the reverse slay. πŸ”₯

and she doesn't just stop there, because she's a whole overachiever:

  • she frees up the pte that was previously inserted into the kernel page table 🧚
  • and she discards the UTLB translation ✨

literally full cleanup, no crumbs left behind. main character energy fr fr πŸ‘‘


πŸ’– SEE ALSO πŸ’–

go read those if you wanna know how the mapping got there in the first place, iykyk 😌


ngl bestie, the source on this one lives in ./arch/sh/kernel/cpu/sh4 β€” and this page is dated October 2026. consider that your cute little sign-off πŸ’« bye pookie, go free those ptes πŸ’…πŸ’œ
πŸ“¦ where this page comes from