[pok-devel] stack size

[ Thread Index | Date Index | More lists.tuxfamily.org/pok-devel Archives ]


Hi,

A little question about the stack size (for a thread):
Is the stack size value fixed to POK_USER_STACK_SIZE (8096) ?

In the function pok_thread_stack_addr:
"pok_partitions[partition_id].size - 4 - (local_thread_id * POK_USER_STACK_SIZE)"
why "-4" ? (I suppose it isn't a magic number)

Did you use the stack_size provided by PROCESS_ATTRIBUTE_TYPE arinc struct ?

For the deadline value, when POK generate the partition code, it sets the deadline value with the period value, this is an error : the deadline value must take HARD or SOFT values. Even if the deadline value isn't use in the kernel, shouldn't we use the good value (HARD or SOFT) during the code generation ?
While being at it, where, in the kernel, can I find the deadline equivalent value ? (deadline = A time by which a process must have completed a certain activity) ?

Thanks again,
Matias




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/