Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Mon, 17 Feb 2003 09:44:21 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Mon, 17 Feb 2003 09:43:09 -0500 Received: from mx1.elte.hu ([157.181.1.137]:27115 "HELO mx1.elte.hu") by vger.kernel.org with SMTP id ; Mon, 17 Feb 2003 09:43:01 -0500 Date: Mon, 17 Feb 2003 15:52:45 +0100 (CET) From: Ingo Molnar Reply-To: Ingo Molnar To: Zwane Mwaikambo Cc: Linux Kernel , Robert Love , Linus Torvalds Subject: Re: [PATCH][2.5] Don't wake up tasks on offline processors In-Reply-To: Message-ID: 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: 569 Lines: 16 On Mon, 17 Feb 2003, Zwane Mwaikambo wrote: > Ok i'll have a go at that instead, however how hard would it be to do a > multiple lock acquisition of that magnitude on 16+ cpus? just do a simple loop of spin_lock()'s over all online CPUs, in forward order, ordering between runqueue locks is ordered by CPU number. 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/