2 ms·
This article _creates_ a reason why the OS might not be able to use huge pages for a calloc. If substantial count of people will read this article, believe wha
by Const-me 10y ago
This article _creates_ a reason why the OS might not be able to use huge pages for a calloc.
If substantial count of people will read this article, believe what’s written, and [re]design their software under the wrong assumption calloc returns sparse copy-on-write memory buffer at no performance cost — the OSes will no longer be able to use huge pages for a calloc. Because doing that would dramatically increase physical memory usage for such software.