Re: [PATCH] Group scheduler statistics in one struct

From: Peter Zijlstra
Date: Thu Mar 11 2010 - 08:14:00 EST


On Wed, 2010-03-10 at 23:37 -0300, Lucas De Marchi wrote:
> Put all statistic fields of sched_entity in one struct, sched_statistics,
> and embed it into sched_entity.
>
> This change allows to memset the sched_statistics to 0 when needed (for
> instance when forking), avoiding bugs of non initialized fields.
>
> Signed-off-by: Lucas De Marchi <lucas.de.marchi@xxxxxxxxx>

Thanks!

--
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/