https://github.com/torvalds/linux
Revision d10689b68aff7b48e3de1a3f7fcd6567bd2905af authored by Paul Jackson on 23 August 2005, 08:04:27 UTC, committed by Linus Torvalds on 24 August 2005, 03:02:52 UTC
This keeps the kernel/cpuset.c routine update_cpu_domains() from
invoking the sched.c routine partition_sched_domains() if the cpuset in
question doesn't fall on node boundaries.

I have boot tested this on an SN2, and with the help of a couple of ad
hoc printk's, determined that it does indeed avoid calling the
partition_sched_domains() routine on partial nodes.

I did not directly verify that this avoids setting up bogus sched
domains or avoids the oops that Hawkes saw.

This patch imposes a silent artificial constraint on which cpusets can
be used to define dynamic sched domains.

This patch should allow proceeding with this new feature in 2.6.13 for
the configurations in which it is useful (node alligned sched domains)
while avoiding trying to setup sched domains in the less useful cases
that can cause the kernel corruption and oops.

Signed-off-by: Paul Jackson <pj@sgi.com>
Acked-by: Ingo Molnar <mingo@elte.hu>
Acked-by: Dinakar Guniguntala <dino@in.ibm.com>
Acked-by: John Hawkes <hawkes@sgi.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
1 parent ae75784
History
Tip revision: d10689b68aff7b48e3de1a3f7fcd6567bd2905af authored by Paul Jackson on 23 August 2005, 08:04:27 UTC
[PATCH] cpu_exclusive sched domains on partial nodes temp fix
Tip revision: d10689b

README

back to top