Re: [PATCH 04/10] sched/debug: Increase SCHEDSTAT_VERSION to 16

From: Swapnil Sapkal
Date: Fri Mar 15 2024 - 10:04:03 EST



On 3/15/2024 2:50 PM, Shrikanth Hegde wrote:
On 3/15/24 2:36 PM, Swapnil Sapkal wrote:
Hello Shrikanth,

Thank you for reviewing.

On 3/15/2024 10:07 AM, Shrikanth Hegde wrote:
19 20
21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
+domain<N> <cpumask> 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
44 45
    The first field is a bit mask indicating what cpus this domain
operates
over.
IIUC, this is editing the content of Version 15, But changes would
happen on Version 16.
Instead can we add the section for Version 16 and not modify for 15?
This file contains the field details of current schedstat version and
the short
summary of what change across the versions. Maintaining each versions
details will
increase the file size. Instead I will add the links to previous version's
documentation.
I hadn't seen that. what you are saying is right. it would bloat up.

Thoughts on this?

-The next 24 are a variety of sched_balance_rq() statistics in grouped
into types
+The next 33 are a variety of sched_balance_rq() statistics in grouped
into types
  of idleness (idle, busy, and newly idle):
Please change this to
of idleness (busy, idle, and newly idle):

Thanks for catching this. I have updated this in v2. v2 is available at:
https://lore.kernel.org/all/20240315135501.1778620-1-swapnil.sapkal@xxxxxxx/

        1)  # of times in this domain sched_balance_rq() was called
when the
+        cpu was busy
+    2)  # of times in this domain sched_balance_rq() checked but
found the
+        load did not require balancing when busy

--
Thanks and Regards,
Swapnil