我要评分
获取效率
正确性
完整性
易理解

Function Description

KQMalloc is a memory allocator designed for Kunpeng 920 series processors and is suitable for Linux environments especially with 4 KB system page size and 48-bit virtual memory addresses. KQMalloc uses techniques such as transparent huge page to minimize page table buffer misses, mitigate cache fragmentation, and reduce cache aliases. This allocator is applicable to both single-threaded and multi-threaded applications, greatly improving application performance. Currently, the malloc, calloc, realloc, free, memcpy, and memset functions have been optimized in the library.