Re: [patch v6 3/8] sched: set initial value of runnable avg for new forked task

2013-05-15 Thread Alex Shi
On 05/10/2013 11:17 PM, Alex Shi wrote: > We need initialize the se.avg.{decay_count, load_avg_contrib} for a > new forked task. > Otherwise random values of above variables cause mess when do new task > enqueue: > enqueue_task_fair > enqueue_entity > enqueue_entity_load_avg

[patch v6 3/8] sched: set initial value of runnable avg for new forked task

2013-05-10 Thread Alex Shi
We need initialize the se.avg.{decay_count, load_avg_contrib} for a new forked task. Otherwise random values of above variables cause mess when do new task enqueue: enqueue_task_fair enqueue_entity enqueue_entity_load_avg and make forking balancing imbalance since incorrect