mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 11:26:02 +09:00
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 7ed681a974a76ded6b7fdda59785a899ef2e40a2)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user