[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[UNIKRAFT PATCH] lib/ukalloc: add ifmalloc compatibility interface



Add ifmalloc, the malloc compatibility interface. This interface implements
a POSIX compliant allocation interface on top of a simple malloc() and
free() interface. This interface is similar to ifpages, which does the same
for palloc() and pfree().

ifmalloc will be used for the port of TLSF and tinyalloc which do not
support (posix_)memalign().

Hugo Lefeuvre (1):
  lib/ukalloc: add ifmalloc compatibility interface

 lib/ukalloc/Config.uk               |   5 ++
 lib/ukalloc/alloc.c                 | 144 ++++++++++++++++++++++++++++++++++++
 lib/ukalloc/exportsyms.uk           |   4 +
 lib/ukalloc/include/uk/alloc.h      |   5 ++
 lib/ukalloc/include/uk/alloc_impl.h |  27 +++++++
 5 files changed, 185 insertions(+)

-- 
2.7.4




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.