Re: [PATCH 0/6] Optimize the cpu hotplug locking -v2

From: George Spelvin
Date: Fri Oct 11 2013 - 08:15:32 EST


> There's places in the kernel that does for_each_cpu() that I'm sure you
> don't want to disable preemption for. Especially when you start having
> 4096 CPU machines!

Er... why not?

Seriously. If I have 4096 processors, and preemption is disabled on
*one* of them for a long time, can't an urgent task just find a different
processor to preempt?

This seems like a non-problem. Or am I misunderstanding something about
processor affinity?
--
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/