Thanks for looking into it Sebastian. I will try it out now.


On 2018-09-19 12:00, Sebastian Huber wrote:
Hello Daniel,

On 19/09/2018 11:32, Daniel Hellstrom wrote:
Hi,

When I rebased earlier this week four SMP test now fails (smp03, smppsxaffinity01, smpschedaffinity04, smpschedaffinity05). After some testing it turns out that after commit cfc4231d8fe1056fa501508a929c8ccaa1dd11be ("score: Add flexible per-CPU data") the tests fails when creating tasks with rtems_task_create() due to Task stack allocation fails.

 0) _Heap_Allocate_aligned_with_boundary(alloc_size=4096,alignment=0,boundary=0)
 1) stack_addr = (*stack_allocate_hook)( the_stack_size );
 2) _Thread_Stack_Allocate( the_thread, stack_size );
 3) _Thread_Initialize()
 4) rtems_task_create()

these tests didn't fail on ARM and PowerPC. I guess this is due to an overestimate of the workspace size. Could you please check if the following commit fixed the issue on SPARC:

https://git.rtems.org/rtems/commit/?id=776464aad46cd317b9707870acc5f6be5531e15a


_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to