From: "Rafael J. Wysocki" <rjw@rjwysocki.net>
To: SungEun Kim <cleaneye.kim@vger.kernel.org>
Cc: pavel@ucw.cz, len.brown@intel.com, linux-pm@vger.kernel.org,
linux-kernel@vger.kernel.org,
"cleaeye.kim" <cleaneye.kim@lge.com>
Subject: Re: [PATCH v3] PM / Sleep: Use workqueue for user space wakeup sources garbage collector
Date: Thu, 16 Jul 2015 02:29:36 +0200 [thread overview]
Message-ID: <3758249.elpppgtaPW@vostro.rjw.lan> (raw)
In-Reply-To: <1435906640-27641-1-git-send-email-cleaneye.kim@lge.com>
On Friday, July 03, 2015 03:57:20 PM SungEun Kim wrote:
> From: "cleaeye.kim" <cleaneye.kim@lge.com>
>
> The synchronous synchronize_rcu in wakeup_source_remove makes user process
> which writes to /sys/kernel/wake_unlock blocked sometimes.
>
> For example, when android eventhub tries to release wakelock,
> this blocking process can occur, and eventhub can't get input event
> for a while.
>
> Using workqueue instead of direct function call at pm_wake_unlock
> can prevent this unnecessary delay of an user space process.
>
> Signed-off-by: SungEun Kim <cleaneye.kim@lge.com>
Queued up for 4.3, thanks!
--
I speak only for myself.
Rafael J. Wysocki, Intel Open Source Technology Center.
prev parent reply other threads:[~2015-07-16 0:03 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-01 2:48 [PATCH] " SungEun Kim
2015-07-01 3:51 ` Krzysztof Kozlowski
2015-07-01 7:25 ` SungEun Kim(cleaneye.kim@lge.com)
2015-07-01 3:54 ` Krzysztof Kozłowski
2015-07-01 8:28 ` [PATCH v2] " SungEun Kim
2015-07-03 0:15 ` Rafael J. Wysocki
2015-07-03 5:03 ` SungEun Kim(cleaneye.kim@lge.com)
2015-07-15 3:35 ` SungEun Kim(cleaneye.kim@lge.com)
2015-07-03 6:57 ` [PATCH v3] " SungEun Kim
2015-07-16 0:29 ` Rafael J. Wysocki [this message]
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=3758249.elpppgtaPW@vostro.rjw.lan \
--to=rjw@rjwysocki.net \
--cc=cleaneye.kim@lge.com \
--cc=cleaneye.kim@vger.kernel.org \
--cc=len.brown@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=pavel@ucw.cz \
/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
Powered by JetHome