Re: Pressing the power button causes the device to freeze completely (schedutil involved)
From: Rafael J. Wysocki
Date: Thu Apr 30 2026 - 10:10:25 EST
On Thu, Apr 30, 2026 at 1:58 PM Evgeny Sagatov <evgeny.sagatov@xxxxxxxxx> wrote:
>
> I forgot to say that in ondemand mode, when I pressed the power
> button, the PC did not freeze.
OK
I think that's because ondemand changes the CPU frequency 10 times
less frequently than schedutil.
Writing a sufficiently large number to
/sys/devices/system/cpu/cpufreq/schedutil/rate_limit_us
when schedutil is the cpufreq governor may help, but I actually don't
know how large that number would need to be.