Re: [PATCH 07/15] cpufreq: ondemand: Simplify idle cputime granularity test
From: Frederic Weisbecker <frederic@kernel.org>
Date: 2026-01-19 22:07:01
Also in:
linux-s390, linuxppc-dev, lkml
From: Frederic Weisbecker <frederic@kernel.org>
Date: 2026-01-19 22:07:01
Also in:
linux-s390, linuxppc-dev, lkml
Le Mon, Jan 19, 2026 at 01:30:07PM +0100, Rafael J. Wysocki a écrit :
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? Thanks. -- Frederic Weisbecker SUSE Labs