Messages in this thread | | | From | Rusty Russell <> | Subject | Re: CPU Hotplug: Hotplug Script And SIGPWR | Date | Wed, 21 Jan 2004 11:00:02 +1100 |
| |
In message <20040120075409.GA13897@hockin.org> you write: > Basically, RT tasks + CPU affinity + hotplug CPUs do not play nicely > together. I don't see much that can be done to solve that. With the > procstate stuff I did, and with planned CPU unplugs we *do* have time before > the CPU really goes offline in which to act. With unplanned CPU offlining, > we don't.
This can't be done with the hotplug scripts. I originally ran hotplug synchronous before taking the CPU offline, and Greg KH said that constitutes abuse 8(
Userspace can agree on a protocol *before* initiating the offline, of course, in which case it's not a kernel problem.
You make an excellent point though: if you need 2 cpus on your system to meet requirements, and you go down to one cpu, you have a problem. But I think that's a "don't do that".
Thanks, Rusty. -- Anyone who quotes me in their sig is an idiot. -- Rusty Russell. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |