kernel_samsung_a53x/kernel/power
Sultan Alsawaf 2e3484e48b PM / freezer: Reduce freeze timeout to 1 second for Android
Freezing processes on Android usually takes less than 100 ms, and if it
takes longer than that to the point where the 20 second freeze timeout is
reached, it's because the remaining processes to be frozen are deadlocked
waiting for something from a process which is already frozen. There's no
point in burning power trying to freeze for that long, so reduce the freeze
timeout to a very generous 1 second for Android and don't let anything mess
with it.

Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
2024-11-19 18:05:37 +01:00
..
autosleep.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
console.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
energy_model.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hibernate.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
main.c PM / freezer: Reduce freeze timeout to 1 second for Android 2024-11-19 18:05:37 +01:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
power.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
poweroff.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
process.c PM / freezer: Reduce freeze timeout to 1 second for Android 2024-11-19 18:05:37 +01:00
qos.c qos: Don't allow userspace to impose restrictions on CPU idle levels 2024-11-19 18:05:02 +01:00
snapshot.c PM: hibernate: Clean up sync_read handling in snapshot_write_next() 2024-11-18 11:43:24 +01:00
suspend.c PM: suspend: Set mem_sleep_current during kernel command line setup 2024-11-19 09:22:17 +01:00
suspend_test.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
swap.c PM: hibernate: Enforce ordering during image compression/decompression 2024-11-18 12:12:55 +01:00
user.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
wakelock.c PM/Sleep: Start killing wakelocks after two minutes of idle (120s) 2024-11-19 18:05:05 +01:00
wakeup_reason.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00