From 38031dd599f7839e3b88c1251c54a70293208cd9 Mon Sep 17 00:00:00 2001 From: Andy Ross Date: Mon, 6 Apr 2020 10:35:47 -0700 Subject: [PATCH] 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 --- kernel/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/Kconfig b/kernel/Kconfig index 94368e00d38..decc3c0559e 100644 --- a/kernel/Kconfig +++ b/kernel/Kconfig @@ -467,6 +467,7 @@ config NUM_PIPE_ASYNC_MSGS config MEM_POOL_HEAP_BACKEND bool "Use k_heap as the backend for k_mem_pool" + default y help This selects a backend implementation for k_mem_pool based on the sys_heap abstraction instead of the legacy