Re: [PATCH] SMP signal latency fix up.

From: Ingo Molnar
Date: Fri Nov 07 2003 - 19:39:04 EST



> the 'is it running' check is 'task_curr(p)', which in this circumstance is
> equivalent to the following test:
>
> per_cpu(runqueues, (cpu)).curr == p

btw., the 'is it running right now' test is a necessary thing as well - we
really dont want to flood CPUs with IPIs which just happen to have the
target task in their runqueue (but the task is not executing).

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