Re: [PATCH] sched: Proper initialization of root_task_group

From: Peter Zijlstra
Date: Wed Nov 30 2011 - 06:18:12 EST


On Tue, 2011-11-29 at 23:42 -0600, Heechul Yun wrote:
> Hi,
>
> The following patch fix a initialization issue.
>
> Thanks
>
> Heechul
>
> ---
> The root_task_group.cfs_bandwidth and root_task_group.shares
> were initialized multiple times unnecessarily which are corrected
> by this patch.

The changelog and you comment above contradict each other. Multiple
initialization isn't a bug, therefore there isn't anything an issue as
such and nothing to 'fix'.

Anyway, the patch adds #ifdeffery, I really rather prefer the double
init over more #ifdeffery.

If you can sort it without introducing more #ifdeffery, or rather, even
reduce the #ifdeffery, I'll take 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/