Loading kernel/sched_debug.c +5 −3 Original line number Diff line number Diff line Loading @@ -327,10 +327,12 @@ void proc_sched_show_task(struct task_struct *p, struct seq_file *m) avg_atom = -1LL; avg_per_cpu = p->se.sum_exec_runtime; if (p->se.nr_migrations) avg_per_cpu = div64_64(avg_per_cpu, p->se.nr_migrations); else if (p->se.nr_migrations) { avg_per_cpu = div64_64(avg_per_cpu, p->se.nr_migrations); } else { avg_per_cpu = -1LL; } __PN(avg_atom); __PN(avg_per_cpu); Loading Loading
kernel/sched_debug.c +5 −3 Original line number Diff line number Diff line Loading @@ -327,10 +327,12 @@ void proc_sched_show_task(struct task_struct *p, struct seq_file *m) avg_atom = -1LL; avg_per_cpu = p->se.sum_exec_runtime; if (p->se.nr_migrations) avg_per_cpu = div64_64(avg_per_cpu, p->se.nr_migrations); else if (p->se.nr_migrations) { avg_per_cpu = div64_64(avg_per_cpu, p->se.nr_migrations); } else { avg_per_cpu = -1LL; } __PN(avg_atom); __PN(avg_per_cpu); Loading