[PATCH] cpukit: Prevent error with disabled stack checker

Sebastian Huber sebastian.huber at embedded-brains.de
Thu Jan 27 14:57:16 UTC 2022


On 27/01/2022 15:54, Kinsey Moore wrote:
>> This check is insufficient in SMP configurations. It also prevents a 
>> stack report without the stack usage information.
> This should be sufficient for SMP because it only needs to verify that 
> the CPU interrupt stack information has been initialized for one CPU to 
> know whether initialization has been run at all and that the appropriate 
> hooks are in place.

No, the initialization of the interrupt stack information runs on each 
CPU independently. There are no ordering guarantees.

-- 
embedded brains GmbH
Herr Sebastian HUBER
Dornierstr. 4
82178 Puchheim
Germany
email: sebastian.huber at embedded-brains.de
phone: +49-89-18 94 741 - 16
fax:   +49-89-18 94 741 - 08

Registergericht: Amtsgericht München
Registernummer: HRB 157899
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
Unsere Datenschutzerklärung finden Sie hier:
https://embedded-brains.de/datenschutzerklaerung/


More information about the devel mailing list