Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Mon, 17 Feb 2003 09:10:44 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Mon, 17 Feb 2003 09:09:39 -0500 Received: from mx2.elte.hu ([157.181.151.9]:51875 "HELO mx2.elte.hu") by vger.kernel.org with SMTP id ; Mon, 17 Feb 2003 09:06:26 -0500 Date: Mon, 17 Feb 2003 15:15: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 schedule tasks on offline cpus 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: 788 Lines: 20 On Mon, 17 Feb 2003, Zwane Mwaikambo wrote: > We don't want to allow a cpu going offline to keep doing scheduler work > so let it exit early, otherwise we'd keep pulling in tasks every timer > tick. i'd rather have all the hotplug CPU code to do this kind of stuff completely out of line. Start up a max-RT-priority housekeeping task and just clean the runqueue and deregister the CPU in one atomic pass - look at how the migration threads do similar stuff. No need to contaminate various codepaths with 'is this CPU online' checks. 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/