sq_unmap(9)
π 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 π
- Kernel file
./arch/sh/kernel/cpu/sh4/sq.c sq_flush_range(9)πsq_remap(9)π
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
- 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