Re: [PATCH 1/2] sched/deadline: fix comment in push_dl_tasks

From: Juri Lelli
Date: Tue Aug 11 2015 - 05:54:59 EST


Hi Andrea,

On 05/08/15 14:56, Andrea Parri wrote:
> The comment is "misleading"; fix it by adapting a comment from
> push_rt_tasks.
>
> Signed-off-by: Andrea Parri <parri.andrea@xxxxxxxxx>
> ---
> kernel/sched/deadline.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/kernel/sched/deadline.c b/kernel/sched/deadline.c
> index 0a17af35..7c17001 100644
> --- a/kernel/sched/deadline.c
> +++ b/kernel/sched/deadline.c
> @@ -1563,7 +1563,7 @@ out:
>
> static void push_dl_tasks(struct rq *rq)
> {
> - /* Terminates as it moves a -deadline task */
> + /* push_dl_task will return true if it moved a -deadline task */
> while (push_dl_task(rq))
> ;
> }
>

Looks good, thanks!

Best,

- Juri

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/