From 4dfac8f44e3293fea96ccc7ae46a7eba92d48968 Mon Sep 17 00:00:00 2001 From: Sai Harshini Nimmala Date: Sat, 8 Oct 2022 20:03:49 -0700 Subject: [PATCH] ANDROID: sched: gki: add padding to some structs to support WALT Qualcomm's load tracking algorithm WALT needs to carry data in the task_group structure. Hence, add padding to it. This commit partially reverts commit ffaeda21f898(Revert "ANDROID: sched: gki: add padding to some structs to support WALT"), to effectively bring back a part of the original change. Bug: 200103201 Change-Id: I728d905d59f03d76dadf007e8f38c6532bd60b91 Signed-off-by: Sai Harshini Nimmala --- kernel/sched/sched.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kernel/sched/sched.h b/kernel/sched/sched.h index 0e9717e91f36..895ee9942331 100644 --- a/kernel/sched/sched.h +++ b/kernel/sched/sched.h @@ -420,6 +420,8 @@ struct task_group { struct uclamp_se uclamp[UCLAMP_CNT]; /* Latency-sensitive flag used for a task group */ unsigned int latency_sensitive; + + ANDROID_VENDOR_DATA_ARRAY(1, 4); #endif };