Reapply "PM / freezer: Reduce freeze timeout to 1 second for Android"

This reverts commit cac147d1b1.
This commit is contained in:
Ksawlii 2024-12-18 11:25:17 +01:00
parent 427697671c
commit e4f1c291cf

View file

@ -29,8 +29,8 @@
/*
* Timeout for stopping processes
*/
unsigned int __read_mostly freeze_timeout_msecs =
IS_ENABLED(CONFIG_ANDROID) ? MSEC_PER_SEC : 20 * MSEC_PER_SEC;
unsigned int __read_mostly freeze_timeout_msecs =
IS_ENABLED(CONFIG_ANDROID) ? MSEC_PER_SEC : 1 * MSEC_PER_SEC;
static int try_to_freeze_tasks(bool user_only)
{