[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <3758249.elpppgtaPW@vostro.rjw.lan>
Date: Thu, 16 Jul 2015 02:29:36 +0200
From: "Rafael J. Wysocki" <rjw@...ysocki.net>
To: SungEun Kim <cleaneye.kim@...r.kernel.org>
Cc: pavel@....cz, len.brown@...el.com, linux-pm@...r.kernel.org,
linux-kernel@...r.kernel.org, "cleaeye.kim" <cleaneye.kim@....com>
Subject: Re: [PATCH v3] PM / Sleep: Use workqueue for user space wakeup sources garbage collector
On Friday, July 03, 2015 03:57:20 PM SungEun Kim wrote:
> From: "cleaeye.kim" <cleaneye.kim@....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@....com>
Queued up for 4.3, thanks!
--
I speak only for myself.
Rafael J. Wysocki, Intel Open Source Technology Center.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists