Re: [RFC 1/8] Track the active utilisation

From: Peter Zijlstra
Date: Thu Jan 14 2016 - 11:49:20 EST


On Thu, Jan 14, 2016 at 04:24:46PM +0100, Luca Abeni wrote:
> diff --git a/kernel/sched/sched.h b/kernel/sched/sched.h
> index 10f1637..826ca6a 100644
> --- a/kernel/sched/sched.h
> +++ b/kernel/sched/sched.h
> @@ -519,6 +519,11 @@ struct dl_rq {
> #else
> struct dl_bw dl_bw;
> #endif
> + /* This is the "active utilization" for this runqueue.

Incorrect comment style.

> + * Increased when a task wakes up (becomes TASK_RUNNING)
> + * and decreased when a task blocks
> + */
> + s64 running_bw;
> };
>
> #ifdef CONFIG_SMP
> --
> 1.9.1
>