ANDROID: GKI: sched: add task boost vendor fields to task_struct

Adds vendor fields for task boosting in task_struct.

Signed-off-by: Will McVicker <willmcvicker@google.com>
[willmcvicker: pulled in ABI changes only]
Bug: 149816871
Bug: 147895101
Test: compile, verify ABI diff
Change-Id: I96acc4d5e47499c0e32e341caddec2140c13e5a8
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
Signed-off-by: blong <blong@codeaurora.org>
(cherry picked from commit 7ed681a974)
This commit is contained in:
Will McVicker 2020-04-01 17:09:08 -07:00
parent 135415b1ff
commit 36e1278b55

View file

@ -686,6 +686,13 @@ struct task_struct {
const struct sched_class *sched_class;
struct sched_entity se;
struct sched_rt_entity rt;
/* task boost vendor fields */
u64 last_sleep_ts;
int boost;
u64 boost_period;
u64 boost_expires;
#ifdef CONFIG_CGROUP_SCHED
struct task_group *sched_task_group;
#endif