Skip to content
Commit 4feb182f authored by Flavio Ceolin's avatar Flavio Ceolin Committed by Chris Friedt
Browse files

kernel: dynamic: Fix stack allocation logic



Fix the preference allocation logic. If pool is preferred but POOL_SIZE
is 0 or pool allocation fails, it fallbacks to heap allocation if it
is enabled.

Signed-off-by: default avatarFlavio Ceolin <flavio.ceolin@intel.com>
parent 3b7e0b67
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment