Commit fa90f37
committed
sched/eevdf: More PELT vs DELAYED_DEQUEUE
JIRA: https://issues.redhat.com/browse/RHEL-68342
commit 76f2f78
Author: Peter Zijlstra <peterz@infradead.org>
Date: Mon Dec 2 18:45:57 2024 +0100
sched/eevdf: More PELT vs DELAYED_DEQUEUE
Vincent and Dietmar noted that while
commit fc1892b ("sched/eevdf: Fixup PELT vs DELAYED_DEQUEUE") fixes
the entity runnable stats, it does not adjust the cfs_rq runnable stats,
which are based off of h_nr_running.
Track h_nr_delayed such that we can discount those and adjust the
signal.
Fixes: fc1892b ("sched/eevdf: Fixup PELT vs DELAYED_DEQUEUE")
Closes: https://lore.kernel.org/lkml/a9a45193-d0c6-4ba2-a822-464ad30b550e@arm.com/
Closes: https://lore.kernel.org/lkml/CAKfTPtCNUvWE_GX5LyvTF-WdxUT=ZgvZZv-4t=eWntg5uOFqiQ@mail.gmail.com/
[ Fixes checkpatch warnings and rebased ]
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reported-by: Dietmar Eggemann <dietmar.eggemann@arm.com>
Reported-by: Vincent Guittot <vincent.guittot@linaro.org>
Signed-off-by: "Peter Zijlstra (Intel)" <peterz@infradead.org>
Signed-off-by: Vincent Guittot <vincent.guittot@linaro.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Dietmar Eggemann <dietmar.eggemann@arm.com>
Tested-by: K Prateek Nayak <kprateek.nayak@amd.com>
Link: https://lore.kernel.org/r/20241202174606.4074512-3-vincent.guittot@linaro.org
Signed-off-by: Phil Auld <pauld@redhat.com>1 parent 7482e15 commit fa90f37
4 files changed
+54
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
845 | 845 | | |
846 | 846 | | |
847 | 847 | | |
| 848 | + | |
848 | 849 | | |
849 | 850 | | |
850 | 851 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5465 | 5465 | | |
5466 | 5466 | | |
5467 | 5467 | | |
5468 | | - | |
| 5468 | + | |
| 5469 | + | |
| 5470 | + | |
| 5471 | + | |
| 5472 | + | |
| 5473 | + | |
| 5474 | + | |
| 5475 | + | |
| 5476 | + | |
| 5477 | + | |
| 5478 | + | |
| 5479 | + | |
| 5480 | + | |
5469 | 5481 | | |
5470 | 5482 | | |
| 5483 | + | |
| 5484 | + | |
| 5485 | + | |
| 5486 | + | |
| 5487 | + | |
| 5488 | + | |
| 5489 | + | |
| 5490 | + | |
| 5491 | + | |
| 5492 | + | |
| 5493 | + | |
| 5494 | + | |
5471 | 5495 | | |
5472 | 5496 | | |
5473 | 5497 | | |
| |||
5497 | 5521 | | |
5498 | 5522 | | |
5499 | 5523 | | |
5500 | | - | |
| 5524 | + | |
5501 | 5525 | | |
5502 | 5526 | | |
5503 | 5527 | | |
| |||
5917 | 5941 | | |
5918 | 5942 | | |
5919 | 5943 | | |
5920 | | - | |
| 5944 | + | |
5921 | 5945 | | |
5922 | 5946 | | |
5923 | 5947 | | |
| |||
5950 | 5974 | | |
5951 | 5975 | | |
5952 | 5976 | | |
| 5977 | + | |
5953 | 5978 | | |
5954 | 5979 | | |
5955 | 5980 | | |
| |||
5973 | 5998 | | |
5974 | 5999 | | |
5975 | 6000 | | |
| 6001 | + | |
5976 | 6002 | | |
5977 | 6003 | | |
5978 | 6004 | | |
| |||
5995 | 6021 | | |
5996 | 6022 | | |
5997 | 6023 | | |
| 6024 | + | |
5998 | 6025 | | |
5999 | 6026 | | |
6000 | 6027 | | |
| |||
6020 | 6047 | | |
6021 | 6048 | | |
6022 | 6049 | | |
6023 | | - | |
| 6050 | + | |
6024 | 6051 | | |
6025 | 6052 | | |
6026 | 6053 | | |
| |||
6056 | 6083 | | |
6057 | 6084 | | |
6058 | 6085 | | |
| 6086 | + | |
6059 | 6087 | | |
6060 | 6088 | | |
6061 | 6089 | | |
| |||
6073 | 6101 | | |
6074 | 6102 | | |
6075 | 6103 | | |
| 6104 | + | |
6076 | 6105 | | |
6077 | 6106 | | |
6078 | 6107 | | |
| |||
6090 | 6119 | | |
6091 | 6120 | | |
6092 | 6121 | | |
| 6122 | + | |
6093 | 6123 | | |
6094 | 6124 | | |
6095 | 6125 | | |
| |||
6943 | 6973 | | |
6944 | 6974 | | |
6945 | 6975 | | |
6946 | | - | |
| 6976 | + | |
6947 | 6977 | | |
6948 | 6978 | | |
6949 | 6979 | | |
| |||
6957 | 6987 | | |
6958 | 6988 | | |
6959 | 6989 | | |
| 6990 | + | |
6960 | 6991 | | |
6961 | 6992 | | |
6962 | 6993 | | |
| |||
6983 | 7014 | | |
6984 | 7015 | | |
6985 | 7016 | | |
| 7017 | + | |
| 7018 | + | |
| 7019 | + | |
6986 | 7020 | | |
6987 | 7021 | | |
6988 | 7022 | | |
| |||
7005 | 7039 | | |
7006 | 7040 | | |
7007 | 7041 | | |
| 7042 | + | |
7008 | 7043 | | |
7009 | 7044 | | |
7010 | 7045 | | |
| |||
7028 | 7063 | | |
7029 | 7064 | | |
7030 | 7065 | | |
| 7066 | + | |
7031 | 7067 | | |
7032 | 7068 | | |
7033 | 7069 | | |
| |||
7090 | 7126 | | |
7091 | 7127 | | |
7092 | 7128 | | |
| 7129 | + | |
7093 | 7130 | | |
7094 | 7131 | | |
7095 | 7132 | | |
7096 | 7133 | | |
7097 | 7134 | | |
7098 | 7135 | | |
7099 | 7136 | | |
| 7137 | + | |
| 7138 | + | |
7100 | 7139 | | |
7101 | 7140 | | |
7102 | 7141 | | |
| |||
7114 | 7153 | | |
7115 | 7154 | | |
7116 | 7155 | | |
| 7156 | + | |
7117 | 7157 | | |
7118 | 7158 | | |
7119 | 7159 | | |
| |||
7152 | 7192 | | |
7153 | 7193 | | |
7154 | 7194 | | |
| 7195 | + | |
7155 | 7196 | | |
7156 | 7197 | | |
7157 | 7198 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
321 | 321 | | |
322 | 322 | | |
323 | 323 | | |
324 | | - | |
| 324 | + | |
325 | 325 | | |
326 | 326 | | |
327 | 327 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
649 | 649 | | |
650 | 650 | | |
651 | 651 | | |
| 652 | + | |
652 | 653 | | |
653 | 654 | | |
654 | 655 | | |
| |||
898 | 899 | | |
899 | 900 | | |
900 | 901 | | |
901 | | - | |
902 | | - | |
| 902 | + | |
| 903 | + | |
| 904 | + | |
| 905 | + | |
| 906 | + | |
903 | 907 | | |
904 | 908 | | |
905 | 909 | | |
| |||
0 commit comments