Re: [PATCH] sched: SCHED_RESET_ON_FORK to recalculate load weights

From: Linus Walleij
Date: Mon Oct 11 2010 - 10:38:21 EST


2010/10/11 Peter Zijlstra <peterz@xxxxxxxxxxxxx>:

> OK, so the problem is that if a RR/FIFO task does s fork() and it has
> SCHED_RESET_ON_FORK set, the child normalization fails to properly set
> the weight?
>
> Does (as Mike just suggested) removing that whole RT clause in
> set_load_weight() work for you?

Yep it sure does! Time to drop some weight.
Sent a new patch for this...

Yours,
Linus Walleij
--
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/