ot sufficient.
> > >
> > > This is because there is no guarantee (that I know of) that the workqueue
> > > thread will actually get scheduled before 'suspend' takes over.
> >
> > I think you are right.
>
> Thanks.
> Here is the revised patch.
terrupt(), then?
>
> > I think the pm_stay_awake//pm_relax is needed - just pm_wakup_event() is
> > theoretically not sufficient.
> >
> > This is because there is no guarantee (that I know of) that the workqueue
> > thread will actually get scheduled before
On Monday, July 30, 2012, NeilBrown wrote:
>
> If an RTC alarm fires just as suspend is happening, it is possible for
> suspend to complete and the alarm to be missed.
>
> To avoid the race, we must register the event with the PM core.
>
> As the event is made visible to userspace through a thre
If an RTC alarm fires just as suspend is happening, it is possible for
suspend to complete and the alarm to be missed.
To avoid the race, we must register the event with the PM core.
As the event is made visible to userspace through a thread which is
only scheduled by the interrupt, we need a pm
4 matches
Mail list logo