From: SungEun Kim Date: Fri, 3 Jul 2015 06:57:20 +0000 (+0900) Subject: PM / autosleep: Use workqueue for user space wakeup sources garbage collector X-Git-Tag: omap-for-v4.3/fixes-rc1~121^2~1^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6ce12a977b7e484540482febe47d1e65f7427abf;p=pandora-kernel.git PM / autosleep: Use workqueue for user space wakeup sources garbage collector 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 a wakelock, this blocking process can occur, and eventhub can't get input events for a while. Using a work item instead of direct function call at pm_wake_unlock() can prevent this unnecessary delay from happening. Signed-off-by: SungEun Kim Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed