From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S267849AbUHTI7P (ORCPT ); Fri, 20 Aug 2004 04:59:15 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S267810AbUHTI6r (ORCPT ); Fri, 20 Aug 2004 04:58:47 -0400 Received: from mx2.elte.hu ([157.181.151.9]:42635 "EHLO mx2.elte.hu") by vger.kernel.org with ESMTP id S264346AbUHTI5q (ORCPT ); Fri, 20 Aug 2004 04:57:46 -0400 Date: Fri, 20 Aug 2004 10:59:23 +0200 From: Ingo Molnar To: Srivatsa Vaddagiri Cc: Rusty Russell , Andrew Morton , Nathan Lynch , lkml - Kernel Mailing List Subject: Re: 2.6.8.1-mm2 Message-ID: <20040820085923.GA11255@elte.hu> References: <20040819014204.2d412e9b.akpm@osdl.org> <1092964083.4946.7.camel@biclops.private.network> <20040819181603.700a9a0e.akpm@osdl.org> <1092987650.28849.349.camel@bach> <20040820081458.GA4949@elte.hu> <20040820082941.GA31649@in.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040820082941.GA31649@in.ibm.com> User-Agent: Mutt/1.4.1i X-ELTE-SpamVersion: MailScanner 4.31.6-itk1 (ELTE 1.2) SpamAssassin 2.63 ClamAV 0.73 X-ELTE-VirusStatus: clean X-ELTE-SpamCheck: no X-ELTE-SpamCheck-Details: score=-4.9, required 5.9, autolearn=not spam, BAYES_00 -4.90 X-ELTE-SpamLevel: X-ELTE-SpamScore: -4 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org * Srivatsa Vaddagiri wrote: > Is it possible to modify release_task to not remove self-reaping tasks > from the list (and possibly have it removed during > finish_task_switch)? > > This should solve the hotplug race as well as keep the current > optimization? see the patch i just sent - it disables hotplug in that critical self-reap section. (another solution would be for the hotplug code to also look into the local runqueue for tasks to migrate, not only the tasklist.) Ingo