Re: [PATCH] build sched domains tracking cpusets

Siddha, Suresh B
2006-07-10T21:50:47Z

On Fri, Jul 07, 2006 at 12:31:07PM -0700, hawkes@sgi.com wrote:
>From: "Nick Piggin" <nickpiggin@yahoo.com.au>
>>
>> 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