Re: [PATCH] build sched domains tracking cpusets

From: Siddha, Suresh B
Date: Mon Jul 10 2006 - 17:48:59 EST


On Fri, Jul 07, 2006 at 12:31:07PM -0700, hawkes@xxxxxxx wrote:
>From: "Nick Piggin" <nickpiggin@xxxxxxxxxxxx>
>>
>> Can you get away without using the bundle? Or does it make things easier?
>> You could add a new use_count to struct sched_domain if you'd like....
>> does it make the setup/teardown too difficult?
>
>The use_count is a ploy to reduce the demand for
>SCHED_DOMAIN_CPUSET_MAX
>slots. I have been told that one popular job manager will create some
>duplicate cpusets.
>
>The bundle is really there to simplify discovering the sched
>group lists.

I think we can do away with the bundle. sd has a pointer to the sched_group
and the first cpu in sd->span can free the groups list allocation.

thanks,
suresh
-
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/