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

From: Nick Piggin
Date: Tue May 03 2005 - 19:11:24 EST


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.

--
SUSE Labs, Novell Inc.

-
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/