Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261555AbTKHAdi (ORCPT ); Fri, 7 Nov 2003 19:33:38 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261744AbTKGWE7 (ORCPT ); Fri, 7 Nov 2003 17:04:59 -0500 Received: from mx2.elte.hu ([157.181.151.9]:55463 "EHLO mx2.elte.hu") by vger.kernel.org with ESMTP id S264421AbTKGPlU (ORCPT ); Fri, 7 Nov 2003 10:41:20 -0500 Date: Fri, 7 Nov 2003 16:31:50 +0100 (CET) From: Ingo Molnar Reply-To: Ingo Molnar To: Linus Torvalds Cc: Mark Gross , Kernel Mailing List Subject: Re: [PATCH] SMP signal latency fix up. In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 617 Lines: 16 > 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/