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>
diff --git a/kernel/Kconfig b/kernel/Kconfig
index 94368e0..decc3c0 100644
--- a/kernel/Kconfig
+++ b/kernel/Kconfig
@@ -467,6 +467,7 @@
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