kernel: userspace: Dynamic thread stack object
Add support for dynamic thread stack objects. A new container for this kernel object was added to avoid its alignment constraint to all dynamic objects. Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
This commit is contained in:
parent
fc6d9eeb3e
commit
3b7e0b672e
4 changed files with 150 additions and 54 deletions
|
@ -33,6 +33,7 @@ tests:
|
|||
# 010
|
||||
- CONFIG_DYNAMIC_THREAD_POOL_SIZE=0
|
||||
- CONFIG_DYNAMIC_THREAD_ALLOC=y
|
||||
- CONFIG_DYNAMIC_THREAD_PREFER_ALLOC=y
|
||||
- CONFIG_USERSPACE=n
|
||||
kernel.threads.dynamic_thread.stack.no_pool.alloc.user:
|
||||
tags: userspace
|
||||
|
@ -40,6 +41,7 @@ tests:
|
|||
# 011
|
||||
- CONFIG_DYNAMIC_THREAD_POOL_SIZE=0
|
||||
- CONFIG_DYNAMIC_THREAD_ALLOC=y
|
||||
- CONFIG_DYNAMIC_THREAD_PREFER_ALLOC=y
|
||||
- CONFIG_USERSPACE=y
|
||||
kernel.threads.dynamic_thread.stack.pool.no_alloc.no_user:
|
||||
extra_configs:
|
||||
|
@ -57,6 +59,7 @@ tests:
|
|||
kernel.threads.dynamic_thread.stack.pool.alloc.no_user:
|
||||
extra_configs:
|
||||
# 110
|
||||
- CONFIG_DYNAMIC_THREAD_PREFER_ALLOC=y
|
||||
- CONFIG_DYNAMIC_THREAD_POOL_SIZE=2
|
||||
- CONFIG_DYNAMIC_THREAD_ALLOC=y
|
||||
- CONFIG_USERSPACE=n
|
||||
|
@ -64,6 +67,7 @@ tests:
|
|||
tags: userspace
|
||||
extra_configs:
|
||||
# 111
|
||||
- CONFIG_DYNAMIC_THREAD_PREFER_ALLOC=y
|
||||
- CONFIG_DYNAMIC_THREAD_POOL_SIZE=2
|
||||
- CONFIG_DYNAMIC_THREAD_ALLOC=y
|
||||
- CONFIG_USERSPACE=y
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue