Re: [patch 03/17] sched: introduce primitives to account for CFSbandwidth tracking

From: Paul Turner
Date: Thu Jul 07 2011 - 17:31:24 EST


On Thu, Jul 7, 2011 at 6:48 AM, Peter Zijlstra <a.p.zijlstra@xxxxxxxxx> wrote:
> On Wed, 2011-07-06 at 22:30 -0700, Paul Turner wrote:
>> +config CFS_BANDWIDTH
>> +       bool "CPU bandwidth provisioning for FAIR_GROUP_SCHED"
>> +       depends on EXPERIMENTAL
>> +       depends on FAIR_GROUP_SCHED
>> +       depends on SMP
>
> I know that UP is quickly becoming extinct, but isn't that a tad
> radical? :-)
>

Right, this was because walk_tg_tree (and some friends) were not
available in the FAIR_GROUP && !SMP case. The wreckage used to be a
little more extensive but I just tried it again the last rounds of
clean-up seem to have fixed most of it, the only other problem was
updating the SMP group load stuff in the unthrottle path.

I've rolled the required #ifdef-erry to fix the above up and it's not
horrifying so... dependency removed!
--
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/