Four SMP tests fails after recent commit

Sebastian Huber sebastian.huber at embedded-brains.de
Wed Sep 19 10:00:58 UTC 2018


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

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.




More information about the devel mailing list