diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2016-12-22 14:16:10 +1100 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2017-01-05 15:27:43 +1100 |
commit | 8594b9c5bd456205255ea2241ba224f47480efad (patch) | |
tree | d0d6953e0ffe8fbc3e9c8661f813098b5801845c /core/test/Makefile.check | |
parent | 40689fadbc0de48d565cf635cd8ab7fc14c1519f (diff) | |
download | blackbird-skiboot-8594b9c5bd456205255ea2241ba224f47480efad.tar.gz blackbird-skiboot-8594b9c5bd456205255ea2241ba224f47480efad.zip |
buddy: Add a simple generic buddy allocator
It operates on bits representing whatever objects the caller wants
it to represent, it's not per-se a memory allocator (it's meant to
be used among others by XIVE for VP allocations). As such it cannot
keep linked lists of free objects, so don't expect stellar perfs.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
[stewart@linux.vnet.ibm.com: add (C) header, fix gcc4.8 build error]
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'core/test/Makefile.check')
-rw-r--r-- | core/test/Makefile.check | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/test/Makefile.check b/core/test/Makefile.check index 869eafc0..35540504 100644 --- a/core/test/Makefile.check +++ b/core/test/Makefile.check @@ -18,7 +18,8 @@ CORE_TEST := \ core/test/run-pool \ core/test/run-time-utils \ core/test/run-timebase \ - core/test/run-timer + core/test/run-timer \ + core/test/run-buddy HOSTCFLAGS+=-I . -I include |