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

Re: [UNIKRAFT PATCH 0/5] Memory Pools



I am sorry. `pool.c` has a wrong license header. I am sending a v2.

Thanks,

Simon

On 23.10.20 13:56, Simon Kuenzer wrote:
This series implements a memory pool allocator. Pool objects have the same
size and are pre-allocated. Due to this simplification allocations and free
operations are as cheap as O(1). Its intended use is performance critical
allocations when allocation sizes do not vary, like network stacks or disk
buffer caches.

Simon Kuenzer (5):
   lib/ukallocpool: Library skeleton
   lib/ukallocpool: LIFO pool implementation
   lib/ukallocpool: Allocate pool on parent allocator
   lib/ukallocpool: `lib/ukalloc` compatible interface
   lib/ukallocpool: Batched allocation

  lib/Makefile.uk                        |   1 +
  lib/ukallocpool/Config.uk              |   6 +
  lib/ukallocpool/Makefile.uk            |   6 +
  lib/ukallocpool/exportsyms.uk          |  10 +
  lib/ukallocpool/include/uk/allocpool.h | 206 +++++++++++++++
  lib/ukallocpool/pool.c                 | 347 +++++++++++++++++++++++++
  6 files changed, 576 insertions(+)
  create mode 100644 lib/ukallocpool/Config.uk
  create mode 100644 lib/ukallocpool/Makefile.uk
  create mode 100644 lib/ukallocpool/exportsyms.uk
  create mode 100644 lib/ukallocpool/include/uk/allocpool.h
  create mode 100644 lib/ukallocpool/pool.c




 


Rackspace

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