On Mon, Jun 14, 2021 at 09:28:34PM +0200, Vincent Guittot wrote:
It's the !SMP case for which PELT is disabled. The below fixes
the problem:
---
kernel/sched/fair.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c
index 62a884a652cc..4f7df0e9d198 100644
--- a/kernel/sched/fair.c
+++ b/kernel/sched/fair.c
@@ -4062,6 +4062,11 @@ static inline void update_misfit_status(struct task_struct *p,
struct rq *rq)
#else /* CONFIG_SMP */
+static inline bool cfs_rq_is_decayed(struct cfs_rq *cfs_rq)
+{
+ return true;
+}
+
#define UPDATE_TG 0x0
#define SKIP_AGE_LOAD 0x0
#define DO_ATTACH 0x0
--
Peter do you prefer a new version of the patch or you will add this fix directly ?
I folded it in, will push out a new version in a minute or so. Hopefully
all will be well, and I'll push out to tip tomorrow.