From: Jiri Slaby <jirislaby@gmail.com>
To: Suresh Rajashekara <suresh.raj+linuxomap@gmail.com>
Cc: linux-omap@vger.kernel.org, linux-pm@lists.linux-foundation.org,
LKML <linux-kernel@vger.kernel.org>
Subject: Re: wait_for_completion_interruptible does not wait !!
Date: Sun, 20 Jun 2010 09:23:28 +0200 [thread overview]
Message-ID: <4C1DC1F0.7040609@gmail.com> (raw)
In-Reply-To: <AANLkTikPOcNZk5ISX2WDHSmsPDw_a5_3Ic3owAbO4o0y@mail.gmail.com>
On 06/20/2010 08:52 AM, Suresh Rajashekara wrote:
> The ioctl waits on a completion variable (using
> wait_for_completion_interruptible).
...
> I tried wait_for_completion instead, but now the kernel refuses to suspend.
Do you check return value of wait_for_completion_interruptible and
return its value if nonzero?
We need the code to comment, otherwise it's hard to say.
--
js
next prev parent reply other threads:[~2010-06-20 7:23 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-20 6:52 wait_for_completion_interruptible does not wait !! Suresh Rajashekara
2010-06-20 7:23 ` Jiri Slaby [this message]
2010-06-20 7:23 ` Jiri Slaby
2010-06-20 15:52 ` [linux-pm] " Alan Stern
2010-06-20 15:52 ` Alan Stern
2010-06-27 4:08 ` Suresh Rajashekara
2010-06-27 4:08 ` Suresh Rajashekara
2010-06-27 4:08 ` Suresh Rajashekara
2010-06-20 15:52 ` Alan Stern
2010-06-28 12:28 ` [linux-pm] " Mark Brown
2010-06-28 12:28 ` Mark Brown
-- strict thread matches above, loose matches on Subject: below --
2010-06-20 6:52 Suresh Rajashekara
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=4C1DC1F0.7040609@gmail.com \
--to=jirislaby@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-omap@vger.kernel.org \
--cc=linux-pm@lists.linux-foundation.org \
--cc=suresh.raj+linuxomap@gmail.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.