linux_dsm_epyc7002/kernel/power
SungEun Kim 6ce12a977b 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>
2015-07-14 21:04:48 +02:00
..
autosleep.c PM / Sleep: avoid 'autosleep' in shutdown progress 2013-07-15 01:31:37 +02:00
console.c arm, pm, vmpressure: add missing slab.h includes 2014-02-03 13:24:01 -05:00
hibernate.c PM / hibernate: re-enable nonboot cpus on disable_nonboot_cpus() failure 2015-06-24 23:48:44 +02:00
Kconfig PM / sleep: Increase default DPM watchdog timeout to 60 2015-06-25 00:35:16 +02:00
main.c PM / sleep: Fix symbol name in a comment in kernel/power/main.c 2015-05-13 15:31:12 +02:00
Makefile suspend: simplify block I/O handling 2015-05-19 09:19:59 -06:00
power.h suspend: simplify block I/O handling 2015-05-19 09:19:59 -06:00
poweroff.c power/sysrq: fix inconstistent help message of sysrq key 2013-04-30 17:04:10 -07:00
process.c oom, PM: make OOM detection in the freezer path raceless 2015-02-11 17:06:03 -08:00
qos.c PM / QoS: Add debugfs support to view the list of constraints 2015-01-23 22:16:21 +01:00
snapshot.c Revert "PM / hibernate: avoid unsafe pages in e820 reserved regions" 2015-04-07 01:13:23 +02:00
suspend_test.c PM / sleep: Enhance test_suspend option with repeat capability 2014-09-09 01:48:02 +02:00
suspend.c PM / sleep: Return -EBUSY from suspend_enter() on wakeup detection 2015-05-19 02:26:56 +02:00
swap.c suspend: simplify block I/O handling 2015-05-19 09:19:59 -06:00
user.c PM / hibernate: introduce "nohibernate" boot parameter 2014-06-16 23:29:39 +02:00
wakelock.c PM / autosleep: Use workqueue for user space wakeup sources garbage collector 2015-07-14 21:04:48 +02:00