Tracy profiler showing the duration distribution of dropping shm pools. ~1 ms is taken by munmap() and the remaining ~6 ms is taken by close() of the file descriptor.
https://files.mastodon.online/media_attachments/files/111/044/860/698/916/606/original/f02ea758872156ed.png