Re: [PATCH 07/15] cpufreq: ondemand: Simplify idle cputime granularity test
From: "Rafael J. Wysocki" <rafael@kernel.org>
Date: 2026-01-20 12:33:03
Also in:
linux-pm, linux-s390, lkml
From: "Rafael J. Wysocki" <rafael@kernel.org>
Date: 2026-01-20 12:33:03
Also in:
linux-pm, linux-s390, lkml
On Mon, Jan 19, 2026 at 11:07 PM Frederic Weisbecker [off-list ref] wrote:
Le Mon, Jan 19, 2026 at 01:30:07PM +0100, Rafael J. Wysocki a écrit :quoted
On Fri, Jan 16, 2026 at 3:53 PM Frederic Weisbecker [off-list ref] wrote:quoted
cpufreq calls get_cpu_idle_time_us() just to know if idle cputime accounting has a nanoseconds granularity. Use the appropriate indicator instead to make that deduction. Signed-off-by: Frederic Weisbecker <frederic@kernel.org>Acked-by: Rafael J. Wysocki (Intel) <rafael@kernel.org> or please let me know if you want me to take this patch.The patch is standalone but the rest of the patchset depends on it. Now I don't target this patchset for v6.20-rc1. So if you manage to sneak this patch in for v6.20-rc1, it works because I'll rebase on -rc1. Otherwise I'll need to keep it to avoid breaking some code assumptions. What do you think?
It can go into -rc1.