Re: [PATCH v2] selftests/cgroup: add user_usec sanity check in test_cpucg_nice
Tejun Heo <[email protected]> Sun, 02 Aug 2026 09:52:53 -1000
| Newsgroups | org.kernel.vger.cgroups,org.kernel.vger.linux-kernel,org.kernel.vger.linux-kselftest |
|---|---|
| Message-ID | <[email protected]> |
On Thu, Jul 30, 2026 at 09:07:17PM +0800, Shaojie Sun wrote: > In test_cpucg_nice, after the child process exits, user_usec is > read from cpu.stat but the value is not checked. Add a sanity check > to ensure user_usec > 0, analogous to test_cpucg_stats(), so that > the test fails early if CPU usage wasn't properly accounted. Applied to cgroup/for-7.3. Thanks. -- tejun