a163b49c80
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> Signed-off-by: Panchajanya1999 <kernel@panchajanya.dev> (cherry picked from commit 72fc44bd8bcfb6d1cbaafb2053173cd985d81d0c) (cherry picked from commit 7097f6cabd228cf426da77ee71088e56beba3cd0) (cherry picked from commit 4f1c2d26818d846c0aea6713652e2a0eaa6a23c4) (cherry picked from commit d416b35f8187c0605ac8816e4d771288514876f1) |
||
---|---|---|
.. | ||
autosleep.c | ||
console.c | ||
energy_model.c | ||
hibernate.c | ||
Kconfig | ||
main.c | ||
Makefile | ||
power.h | ||
poweroff.c | ||
process.c | ||
qos.c | ||
snapshot.c | ||
suspend.c | ||
suspend_test.c | ||
swap.c | ||
user.c | ||
wakelock.c | ||
wakeup_reason.c |