Christopher Friedt
dcdebb616a
kernel: dynamic: remove unnecessary size assignment
...
Previously, the kernel stack size was adjusted for no apparent
reason.
Signed-off-by: Christopher Friedt <cfriedt@meta.com>
2023-07-24 12:59:43 -04:00
Flavio Ceolin
4feb182f12
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: Flavio Ceolin <flavio.ceolin@intel.com>
2023-07-17 16:56:01 -04:00
Flavio Ceolin
fc6d9eeb3e
kernel: dynamic: Support usermode thread stack
...
Allocate kernel object for userspace thread stack.
Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
2023-07-17 16:56:01 -04:00
Christopher Friedt
7b1b2576ac
kernel: support dynamic thread stack allocation
...
Add support for dynamic thread stack allocation
Signed-off-by: Christopher Friedt <cfriedt@meta.com>
2023-07-13 17:16:32 -04:00