Hugepage
Transparent Hugepage Support (翻译 by chatgpt)
原文:https://www.kernel.org/doc/html/latest/admin-guide/mm/transhuge.html Objective 目标 Performance critical computing applications dealing with large me ......
hugepage 示例代码
#include <fcntl.h> #include <sys/mman.h> #include <errno.h> #include <stdio.h> #define MAP_LENGTH (500*1024*1024) // 10MB int main() { int fd; void * ......