News for hackers. Stuff that matters.
Re:Windows Memory Mapped File IO by sirjee on Saturday November 16, 2024 @01:31AM (#42154827)
Linux have madvise(MADV_DONTNEED).
Re:Windows Memory Mapped File IO by vlovich123 on Sunday November 17, 2024 @01:18PM (#42165799)
You’re replying to a statement I wasn’t making and missing what I am saying.

Linux just takes that as a hint to unmap immediately and this results in a cross tlb shoot down. Cross tlb shoot downs are crazy expensive. Windows might have better support for doing it lazily and not paying the cost.

https://news.ycombinator.com/item?id=23216590