RE: [PATCH 0/6] x86/cpu hotplug: Wake up offline CPU via mwait ornmi

From: Peter Zijlstra
Date: Wed Jun 06 2012 - 04:40:23 EST


On Wed, 2012-06-06 at 00:09 +0200, Thomas Gleixner wrote:
> We have no mechanism to exclude those cpus from general
> "oh you should do X and Y" tasks which are not really necessary at
> all.

Its that latter part which makes this nearly impossible. How do you tell
its not really necessary?

Look at the patches Gilad did, there is very little common code between
each of those cases.

We cannot just not flush objects because the cpu is supposed to be
isolated. If it has buffer they need flushing. Not doing so would lead
to memory leaks at best and crashes at worst.

Some people want isolation to never use system calls, those are the easy
case. But the isolation case where the apps do use plenty system calls
but just don't want to deal with the perturbations of other workloads
are much harder to sort.


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