lkml.org 
[lkml]   [2003]   [Nov]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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/

\
 
 \ /
  Last update: 2005-03-22 13:58    [W:0.211 / U:0.168 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site