Re: [RFC][PATCH 2/2] time: alarmtimer: Use TASK_FREEZABLE to cleanup freezer handling
From: Michael Nazzareno Trimarchi
Date: Mon Jul 15 2024 - 04:20:54 EST
Hi Thomas
On Sat, Jul 13, 2024 at 12:47 PM Thomas Gleixner <tglx@xxxxxxxxxxxxx> wrote:
>
> Michael!
>
> On Thu, Jun 27 2024 at 09:46, Michael Nazzareno Trimarchi wrote:
> > On Thu, Mar 2, 2023 at 11:58 PM Thomas Gleixner <tglx@xxxxxxxxxxxxx> wrote:
> >> >> This appears to be still somewhat racy, because the notifier can run
> >> >> at this point AFAICS.
> >> >
> >> > Indeed it is. Let me think more about this.
> >>
> >> All of this is inherently racy as there is zero feedback whether the
> >> event has been consumed or not. Making this feedback based is not
> >> necessarily trivial, but let me stare into that.
> >>
> > Sorry to come back on this topic but I would like to know, if we can
> > find a way to be sure
> > to not lost wakeup or if you have already addressed in some series
>
> No. I did not take care of it as I got distracted with other important
> stuff. Feel free to take up the loose ends of this thread and make it
> work. I'm happy to help discussing design choices.
>
I will pick it up this week, and see what I can do and propose some way.
Thank you for having time to reply
Michael
> Thanks,
>
> tglx
--
Michael Nazzareno Trimarchi
Co-Founder & Chief Executive Officer
M. +39 347 913 2170
michael@xxxxxxxxxxxxxxxxxxxx
__________________________________
Amarula Solutions BV
Joop Geesinkweg 125, 1114 AB, Amsterdam, NL
T. +31 (0)85 111 9172
info@xxxxxxxxxxxxxxxxxxxx
www.amarulasolutions.com