Rate This Document
Findability
Accuracy
Completeness
Readability

Function Description

KQMalloc is a memory allocator designed for Kunpeng 920 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 provides two versions: kqmalloc for single-threaded applications and kqmallocmt for multi-threaded applications, improving application performance. Currently, the malloc, calloc, realloc, free, memcpy, and memset functions have been optimized in the library.