Re: [RESEND][PATCH v3 1/1] sched: Report the different kinds of imbalances in /proc/schedstat

From: Swapnil Sapkal
Date: Wed May 15 2024 - 01:12:45 EST


Hi Chenyu,

Thank you for taking look at this patch.

On 5/14/2024 8:44 PM, Chen Yu wrote:
On 2024-05-14 at 19:53:58 +0530, Shrikanth Hegde wrote:


On 5/14/24 4:44 PM, Chen Yu wrote:
On 2024-05-14 at 04:44:45 +0000, Swapnil Sapkal wrote:

It's been increased already as part of below commit

commit 11b0bfa5d463b17cac5bf6b94fea4921713530c3
Author: Ingo Molnar <mingo@xxxxxxxxxx>
Date: Fri Mar 8 11:58:55 2024 +0100

sched/debug: Increase SCHEDSTAT_VERSION to 16
We changed the order of definitions within 'enum cpu_idle_type',
which changed the order of [CPU_MAX_IDLE_TYPES] columns in
show_schedstat().



I see, so it has been increased due to commit 38d707c54df4, and current patch
is accomany with that.

Yes, this patch accompanies commit 38d707c54df4. It updates the documentation
because of change in order of [CPU_MAX_IDLE_TYPES] columns and adds the imbalance
fields which will be used by Perf schedstat tool[1].

[1] https://lore.kernel.org/all/20240508060427.417-1-ravi.bangoria@xxxxxxx/


thanks,
Chenyu

--
Thanks and Regards,
Swapnil