nfs-ganesha 1.4

General Allocator Shim

These functions provide an interface akin to the standard libc allocation functions. Currently they call the functions malloc, free, and so forth, with changes in functionality being provided by linking in alternate allocator libraries (tcmalloc and jemalloc, at present.) So long as the interface remains the same, these functions can be switched out using ifdef for versions that do more memory tracking or that call allocators with other names.