[PATCH 15/27] score: Add SMP scheduler make/clean sticky
Sebastian Huber
sebastian.huber at embedded-brains.de
Mon Nov 22 08:12:29 UTC 2021
On 20/11/2021 22:24, Gedare Bloom wrote:
> Not super important, but this many arguments are probably going to
> pass through the stack in pretty much any ISA (except maybe sparc). At
> some point it may be worth refactoring these_Scheduler_ calls to pass
> a structure of the operations by pointer instead of as individual
> arguments to reduce the overhead of spilling/filling args to stack
> frames. Just a random thought, maybe some kind of
> Scheduler_SMP_Operations;
If you enable the compiler optimization, then these functions are not
called via function pointers. These functions are all "static inline"
and the compiler sees them all in the translation unit. It will expand
all the code and optimize it.
--
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