Re: [PATCH 7/7] selftests/proc: Remove idle time monotonicity assertions

From: Alexey Dobriyan
Date: Mon Feb 20 2023 - 15:16:38 EST


On Mon, Feb 20, 2023 at 01:41:29PM +0100, Frederic Weisbecker wrote:
> Due to broken iowait task counting design (cf: comments above
> get_cpu_idle_time_us() and nr_iowait()), it is not possible to provide
> the guarantee that /proc/stat or /proc/uptime display monotonic idle
> time values.

Those test uptime _and_ idle time? You aren't sacking uptime, right?

> delete mode 100644 tools/testing/selftests/proc/proc-uptime-001.c
> delete mode 100644 tools/testing/selftests/proc/proc-uptime-002.c