Re: [PATCH] x86: Don't send RESCHEDULE_VECTOR to offlined cpus

From: Gregory Haskins
Date: Mon Mar 10 2008 - 12:37:36 EST


Gautham R Shenoy wrote:
On Mon, Mar 10, 2008 at 01:24:18PM +0100, Ingo Molnar wrote:
* Gautham R Shenoy <ego@xxxxxxxxxx> wrote:

x86: Don't send RESCHEDULE_VECTOR to offlined cpus.
From: Gautham R Shenoy <ego@xxxxxxxxxx>

In the x86 native_smp_send_reschedule_function(), don't send the IPI if the cpu has gone offline already. Warn nevertheless!!
have you seen this happen?

Yup, this afternoon while running
cpu-hotplug stress tests (http://lkml.org/lkml/2008/3/3/11)
in parallel with kern-bench, I got this on the serial console.

Note that this may be a side-effect of the bug we are chasing with the rd->online problem.

E.g. if the rd->online issue is causing us to route tasks to dead CPUs, this phenomenon would probably go away once rd->online is fixed (which I believe it is with the patches that were submitted).

Regards,
-Greg
--
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/