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

2022-04-28 Thread Gabriel.Moyano
> On 27.04.22 15:13, gabriel.moy...@dlr.de wrote: > >> On 07/04/2022 15:16, Sebastian Huber wrote: > >>> On 07/04/2022 15:10, gabriel.moy...@dlr.de wrote: > > Which sequence of function calls and timings cases the problem? > > This should be definitely a test case. > The generation is

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

2022-04-27 Thread Sebastian Huber
On 27.04.22 15:13, gabriel.moy...@dlr.de wrote: On 07/04/2022 15:16, Sebastian Huber wrote: On 07/04/2022 15:10, gabriel.moy...@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(

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

2022-04-27 Thread Gabriel.Moyano
> On 07/04/2022 15:16, Sebastian Huber wrote: > > On 07/04/2022 15:10, gabriel.moy...@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

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

2022-04-07 Thread Sebastian Huber
On 07/04/2022 15:16, Sebastian Huber wrote: On 07/04/2022 15:10, gabriel.moy...@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

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

2022-04-07 Thread Sebastian Huber
On 07/04/2022 15:10, gabriel.moy...@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 cond

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

2022-04-07 Thread Gabriel.Moyano
> On 07/04/2022 11:56, gabriel.moy...@dlr.de wrote: > >> On 07/04/2022 10:36, Gabriel Moyano wrote: > >>> --- > >>>cpukit/score/src/kern_tc.c | 6 ++ > >>>1 file changed, 6 insertions(+) > >>> > >>> diff --git a/cpukit/score/src/kern_tc.c b/cpukit/score/src/kern_tc.c > >>> index a5c7b4b8

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

2022-04-07 Thread Sebastian Huber
On 07/04/2022 11:56, gabriel.moy...@dlr.de wrote: On 07/04/2022 10:36, Gabriel Moyano wrote: --- cpukit/score/src/kern_tc.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/cpukit/score/src/kern_tc.c b/cpukit/score/src/kern_tc.c index a5c7b4b841..a8ba268ea3 100644 --- a/cpukit/scor

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

2022-04-07 Thread Gabriel.Moyano
> On 07/04/2022 10:36, Gabriel Moyano wrote: > > --- > > cpukit/score/src/kern_tc.c | 6 ++ > > 1 file changed, 6 insertions(+) > > > > diff --git a/cpukit/score/src/kern_tc.c b/cpukit/score/src/kern_tc.c > > index a5c7b4b841..a8ba268ea3 100644 > > --- a/cpukit/score/src/kern_tc.c > > +++ b/