Messages in this thread | | | Date | Fri, 7 Nov 2003 16:31:50 +0100 (CET) | From | Ingo Molnar <> | Subject | Re: [PATCH] SMP signal latency fix up. |
| |
> 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |