public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Elias Oltmanns <eo@nebensachen.de>
To: "Rafael J. Wysocki" <rjw@sisk.pl>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Freezer: How to handle timers?
Date: Tue, 22 Jul 2008 16:06:59 +0200	[thread overview]
Message-ID: <877ibe6mik.fsf@denkblock.local> (raw)
In-Reply-To: <87fxq4a4x3.fsf@denkblock.local> (Elias Oltmanns's message of "Sun, 20 Jul 2008 18:36:40 +0200")

Elias Oltmanns <eo@nebensachen.de> 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().

Regards,

Elias

  reply	other threads:[~2008-07-22 14:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-20 16:36 Freezer: How to handle timers? Elias Oltmanns
2008-07-22 14:06 ` Elias Oltmanns [this message]
2008-08-08 21:54   ` Pavel Machek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877ibe6mik.fsf@denkblock.local \
    --to=eo@nebensachen.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rjw@sisk.pl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox