commit | 7d887cb6156ef802b1954313e8fa3bb1012677da | [log] [tgz] |
---|---|---|
author | Johan Hedberg <johan.hedberg@intel.com> | Thu Jan 11 20:45:27 2018 +0200 |
committer | Anas Nashif <nashif@linux.intel.com> | Fri Jan 12 08:05:08 2018 -0500 |
tree | b143f65bceb3b75f02430cd3cc96564154c0aef8 | |
parent | af0bf06aa3f8a3c079956f49236078af053fedc4 [diff] |
mempool: Add k_mem_pool_free_id API The k_mem_pool_free API has no use for the full k_mem_block struct. In particular, it only needs the k_mem_block_id. Introduce a new API which takes only this essential struct. This paves the way to simplify & improve the k_malloc/k_free implementation a bit. Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>