mirror of
https://github.com/torvalds/linux.git
synced 2026-07-31 19:47:08 +02:00
sched/walt: Improve the scheduler
This change is for general scheduler improvement. Change-Id: I2435c4ecd4c6a978af188a6385d306691376bb0a Signed-off-by: Sai Harshini Nimmala <snimmala@codeaurora.org>
This commit is contained in:
parent
c7d56f9819
commit
717473462b
|
|
@ -189,8 +189,11 @@ static inline void walt_task_dump(struct task_struct *p)
|
|||
int i, j = 0;
|
||||
int buffsz = WALT_NR_CPUS * 16;
|
||||
struct walt_task_struct *wts = (struct walt_task_struct *) p->android_vendor_data1;
|
||||
bool is_32bit_thread = is_compat_thread(task_thread_info(p));
|
||||
|
||||
SCHED_PRINT(p->pid);
|
||||
printk_deferred("Task: %.16s-%d\n", p->comm, p->pid);
|
||||
SCHED_PRINT(p->policy);
|
||||
SCHED_PRINT(p->prio);
|
||||
SCHED_PRINT(wts->mark_start);
|
||||
SCHED_PRINT(wts->demand);
|
||||
SCHED_PRINT(wts->coloc_demand);
|
||||
|
|
@ -213,6 +216,10 @@ static inline void walt_task_dump(struct task_struct *p)
|
|||
SCHED_PRINT(wts->last_enqueued_ts);
|
||||
SCHED_PRINT(wts->misfit);
|
||||
SCHED_PRINT(wts->unfilter);
|
||||
SCHED_PRINT(is_32bit_thread);
|
||||
SCHED_PRINT(wts->grp);
|
||||
SCHED_PRINT(p->on_cpu);
|
||||
SCHED_PRINT(p->on_rq);
|
||||
}
|
||||
|
||||
static inline void walt_rq_dump(int cpu)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user