Skip to content

Commit 38031dd

Browse files
Andy Rossandrewboie
authored andcommitted
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 <[email protected]>
1 parent e582bc1 commit 38031dd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

kernel/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -467,6 +467,7 @@ config NUM_PIPE_ASYNC_MSGS
467467

468468
config MEM_POOL_HEAP_BACKEND
469469
bool "Use k_heap as the backend for k_mem_pool"
470+
default y
470471
help
471472
This selects a backend implementation for k_mem_pool based
472473
on the sys_heap abstraction instead of the legacy

0 commit comments

Comments
 (0)