Re: [PATCH] cgroup/cpu: document cpu.stat nice_usec and core_sched.force_idle_usec
Michal Koutný <[email protected]>
| Newsgroups | org.kernel.vger.cgroups,org.kernel.vger.linux-doc,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
On Sat, Jul 18, 2026 at 04:01:00PM +0800, Tao Cui <[email protected]> wrote: > From: Tao Cui <[email protected]> > > cgroup_base_stat_cputime_show() unconditionally prints a fourth base > stat, nice_usec, in addition to usage_usec/user_usec/system_usec, and > also prints core_sched.force_idle_usec when CONFIG_SCHED_CORE is enabled. > Neither field is currently described in the cpu.stat section of > cgroup-v2.rst, which still states it "always reports the following three > stats". Just to better sense popularity of the fields -- have you found this out by: a) reading cpu.stat and being confused about semantics of the fields or b) scanning files/code vs docs looking for discrepancies? Thanks, Michal
signature.asc
(application/pgp-signature, 265 B)
-----BEGIN PGP SIGNATURE----- iJEEABYKADkWIQRCE24Fn/AcRjnLivR+PQLnlNv4CAUCal4+MhsUgAAAAAAEAA5t YW51MiwyLjUrMS4xMiwyLDIACgkQfj0C55Tb+Ag3vwD9E1MC8njfG/ALqSIl0+J+ vDpXYoCVjiKaSM/c4p3+facBAM1HnJky1cQzDzCmTg5mmKUbPFXANmVUH42v2ac9 Y7MA =/WHZ -----END PGP SIGNATURE-----