Skip to content

GabrielGanne/memory-pool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mpool

sandbox to play with memory allocation

TODO

  • add scratch memory to alloc things bigger than a page.
  • use free ring instead of list => lockless

xmalloc test

Taken and adapted from mimalloc-bench

xmalloc-test.c: is also known as "malloc-test"

Originally by C. Lever and D. Boreham, Christian Eder ( [email protected]) for xmalloc, and modified by Bradley C. Kuzmaul for SuperMalloc https://github.com/kuszmaul/SuperMalloc

* \author C. Lever and D. Boreham, Christian Eder ( [email protected] )
* \date   2000
* \brief  Test file for xmalloc. This is a multi-threaded test system by
*         Lever and Boreham. It is first noted in their paper "malloc()
*         Performance in a Multithreaded Linux Environment", appeared at the
*         USENIX 2000 Annual Technical Conference: FREENIX Track.
*         This file is part of XMALLOC, licensed under the GNU General
*         Public License version 3. See COPYING for more information.

Random.h is based on lran2.h by Wolfram Gloger 1996

Releases

No releases published

Packages

No packages published