Skip to content
Commit 94139226 authored by Andy Ross's avatar Andy Ross Committed by Anas Nashif
Browse files

kernel/k_malloc: Decouple k_malloc/k_free from mem_pool



These were implemented in terms of the mem_pool/block API directly
(for complicated reasons, the pointers returned from this API may have
been allocated from allocators other than the single system heap).
Have them use a k_heap instead.

Requires a tweak to one test which had hard-coded an assumption about
the header size.

Signed-off-by: default avatarAndy Ross <andrew.j.ross@intel.com>
parent 6bc6a67b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment