diff options
author | SungEun Kim <cleaneye.kim@lge.com> | 2015-07-03 09:57:20 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2015-07-14 22:04:48 +0300 |
commit | 6ce12a977b7e484540482febe47d1e65f7427abf (patch) | |
tree | 2f8abc2e11c35e0c399dd1b1701564853eb10f55 /include/asm-generic/fb.h | |
parent | bc0195aad0daa2ad5b0d76cce22b167bc3435590 (diff) | |
download | linux-6ce12a977b7e484540482febe47d1e65f7427abf.tar.xz |
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 <cleaneye.kim@lge.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include/asm-generic/fb.h')
0 files changed, 0 insertions, 0 deletions