lkml.org 
[lkml]   [2010]   [Mar]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] Group scheduler statistics in one struct
From
Date
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@gmail.com>

Thanks!



\
 
 \ /
  Last update: 2010-03-11 14:17    [from the cache]
©2003-2011 Jasper Spaans