News for hackers. Stuff that matters.
Re:How memory maps (mmap) deliver faster file access in Go by vlovich123 on Friday October 24, 2025 @07:53AM (#45693684)
munmap + signal handling is terrible not least of which that you don’t want to be fucking with the page table in that way as an unmap involves a cross cpu TLB shoot down which is slooow in a “make the entire machine slow” kind of way.
Re:How memory maps (mmap) deliver faster file access in Go by kragen on Sunday October 26, 2025 @02:42AM (#45709638)
That is correct, although my laptop is only four cores.