kernel: Make the k_heap backend default for k_mem_pool

Legacy code can switch back to the original implementation where it
needs it, but we don't want new code to be unintentionally dependent
on the behavior of the older allocator.  The new one is a better
general purpose choice.

Signed-off-by: Andy Ross <andrew.j.ross@intel.com>
This commit is contained in:
Andy Ross 2020-04-06 10:35:47 -07:00 committed by Andrew Boie
commit 38031dd599

View file

@ -467,6 +467,7 @@ config NUM_PIPE_ASYNC_MSGS
config MEM_POOL_HEAP_BACKEND config MEM_POOL_HEAP_BACKEND
bool "Use k_heap as the backend for k_mem_pool" bool "Use k_heap as the backend for k_mem_pool"
default y
help help
This selects a backend implementation for k_mem_pool based This selects a backend implementation for k_mem_pool based
on the sys_heap abstraction instead of the legacy on the sys_heap abstraction instead of the legacy