AW: AW: [PATCH 07/12] kern_tc.c: Remove verification of th_generation for pps functions

Sebastian Huber sebastian.huber at embedded-brains.de
Thu Apr 7 13:16:52 UTC 2022


On 07/04/2022 15:10, Gabriel.Moyano at dlr.de wrote:
>> Which sequence of function calls and timings cases the problem? This should be definitely a test case.
> The generation is updated every time tc_windup() is called. So it is more or less a race condition when it happens.

This is not a race condition. The sequence counter is supposed to ensure 
a consistent state. You can't simply remove this.

Maybe the PPS support requires that we use two timehands even for the 
uniprocessor configuration. For this, we have to understand under which 
conditions and use cases the generation change is an issue.

-- 
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