[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20060821132709.GB8499@krispykreme>
Date: Mon, 21 Aug 2006 23:27:09 +1000
From: Anton Blanchard <anton@...ba.org>
To: pj@....com, simon.derr@...l.net
Cc: nathanl@...tin.ibm.com, linux-kernel@...r.kernel.org
Subject: cpusets not cpu hotplug aware
Hi,
We have a bug report where sched_setaffinity fails for cpus that are
hotplug added after boot. Nathan found this suspicious piece of code:
void __init cpuset_init_smp(void)
{
top_cpuset.cpus_allowed = cpu_online_map;
top_cpuset.mems_allowed = node_online_map;
}
Any reason we statically set the top level cpuset to the boot time cpu
online map?
Anton
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists