Re: Freezer: How to handle timers?

From: Pavel Machek
Date: Fri Aug 08 2008 - 18:01:46 EST


On Tue 2008-07-22 16:06:59, Elias Oltmanns wrote:
> Elias Oltmanns <eo@xxxxxxxxxxxxxx> wrote:
> > Hi there,
> >
> > am I right in thinking that timers set by mod_timer() will not fire
> > once suspend_freeze_processes() has completed? If so, what options do I
> > have to make sure that either suspending will be delayed until my timer
> > has expired, or the timeout callback will be called as part of the
> > suspend sequence even if the timer has not expired yet?
>
> Alright, I think I can solve my particular problem quite well by means
> of a pm notifier. However, I'm still wondering whether timers really
> should be affected by suspend_freeze_processes().

I don't think they are... are they?

--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/