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 /doc/device-tree/index.rst | |
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 'doc/device-tree/index.rst')
0 files changed, 0 insertions, 0 deletions