Re: [PATCH] cgroup: Fix documentation for cpu.idle

From: Jonathan Corbet
Date: Fri Dec 01 2023 - 10:14:34 EST


Bagas Sanjaya <bagasdotme@xxxxxxxxx> writes:

> On Thu, Nov 30, 2023 at 04:52:03PM -0800, Josh Don wrote:
>> diff --git a/Documentation/admin-guide/cgroup-v2.rst b/Documentation/admin-guide/cgroup-v2.rst
>> index 3f85254f3cef..9debf02bcb39 100644
>> --- a/Documentation/admin-guide/cgroup-v2.rst
>> +++ b/Documentation/admin-guide/cgroup-v2.rst
>> + cpu.idle
>> + A read-write single value file which exists on non-root cgroups.
>> + The default is 0.
>> +
>> + This is the cgroup analog of the per-task SCHED_IDLE sched policy.
> "... cgroup analogy to ..."
>> + Setting this value to a 1 will make the scheduling policy of the

Bagas, please stop this (again). The original wording is better than
your suggested "improvement".

jon