2 ms·
Linux have madvise(MADV_DONTNEED).
by sirjee 2y ago
Linux have madvise(MADV_DONTNEED).
- vlovich123 2y agoYou’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 https://news.ycombinator.com/item?id=23216590