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: Flavio Ceolin <flavio.ceolin@intel.com>
Allocate kernel object for userspace thread stack. Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
Add support for dynamic thread stack allocation Signed-off-by: Christopher Friedt <cfriedt@meta.com>