summaryrefslogtreecommitdiffstats
path: root/Documentation/scheduler/sched-stats.rst
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2024-03-08 11:58:55 +0100
committerIngo Molnar <mingo@kernel.org>2024-03-12 11:03:40 +0100
commit11b0bfa5d463b17cac5bf6b94fea4921713530c3 (patch)
tree3a739c527cb7db70e2f22b06aabe84b9fe0ba9cc /Documentation/scheduler/sched-stats.rst
parentsched/balancing: Change 'enum cpu_idle_type' to have more natural definitions (diff)
downloadlinux-11b0bfa5d463b17cac5bf6b94fea4921713530c3.tar.xz
linux-11b0bfa5d463b17cac5bf6b94fea4921713530c3.zip
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(). Suggested-by: Shrikanth Hegde <sshegde@linux.ibm.com> Signed-off-by: Ingo Molnar <mingo@kernel.org> Cc: "Gautham R. Shenoy" <gautham.shenoy@amd.com> Link: https://lore.kernel.org/r/20240308105901.1096078-5-mingo@kernel.org
Diffstat (limited to 'Documentation/scheduler/sched-stats.rst')
-rw-r--r--Documentation/scheduler/sched-stats.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/scheduler/sched-stats.rst b/Documentation/scheduler/sched-stats.rst
index 03c062915998..73c412666655 100644
--- a/Documentation/scheduler/sched-stats.rst
+++ b/Documentation/scheduler/sched-stats.rst
@@ -2,6 +2,11 @@
Scheduler Statistics
====================
+Version 16 of schedstats changed the order of definitions within
+'enum cpu_idle_type', which changed the order of [CPU_MAX_IDLE_TYPES]
+columns in show_schedstat(). In particular the position of CPU_IDLE
+and __CPU_NOT_IDLE changed places. The size of the array is unchanged.
+
Version 15 of schedstats dropped counters for some sched_yield:
yld_exp_empty, yld_act_empty and yld_both_empty. Otherwise, it is
identical to version 14.