Re: [PATCH 1/2] sched: normalize sleeper's vruntime during group change

From: Pekka Enberg
Date: Wed Sep 29 2010 - 02:54:21 EST


On Wed, Sep 29, 2010 at 9:46 AM, Dima Zavin <dima@xxxxxxxxxxx> wrote:
> This adds a new callback, prep_move_task, to struct sched_class
> to give sched_fair the opportunity to adjust the task's vruntime
> just before setting its new group.
>
> This allows us to properly normalize a sleeping task's vruntime
> when moving it between different cgroups.
>
> Cc: Arve Hjønnevåg <arve@xxxxxxxxxxx>
> Signed-off-by: Dima Zavin <dima@xxxxxxxxxxx>

Nitpick: this changelog probably needs better description of the
problem it's trying to solve or a link to the previous discussion
about it.
--
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/