Re: [RFC PATCH] Dynamic sched domains (v0.5)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Nick Piggin wrote:
> Matthew Dobson wrote:
> 
>> Dinakar Guniguntala wrote:
>>
>>> +    lock_cpu_hotplug();
>>> +    rebuild_sched_domains(span1, span2);
>>> +    unlock_cpu_hotplug();
>>> +}
>>
>>
>>
>> Nitpicky, but span1 and span2 could do with better names.
>>
> 
> As could rebuild_sched_domains while we're at it.
> 
> partition_disjoint_sched_domains(partition1, partition2);
> ?
> 
> Dunno. That isn't really great, but maybe better? Pretty
> long, but it'll only ever be called in one or two places.

build_disjoint_sched_domains(partition1, partition2)?  Or just
partition_sched_domains(partition1, partition2)?  Partition and disjoint
seem mildly redundant to me, for varying definitions of partition... ;)

-Matt
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux