Open utterances-bot opened 3 years ago
煎鱼大大,MADV_FREE 和 MADV_DONTNEED 的定义是不是写反了
MADV_FREE 和 MADV_DONTNEED 在操作系统回收这块,应该是写反了。 MADV_FREE: The kernel can thus free these pages, but the freeing could be delayed until memory pressure occurs. https://www.man7.org/linux/man-pages/man2/madvise.2.html
Go1.16 新特性:详解内存管理机制的变更,你需要了解
https://eddycjy.com/posts/go/go1.16-3/