Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 10 Jul 2002 08:31:33 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 10 Jul 2002 08:31:32 -0400 Received: from ophelia.ess.nec.de ([193.141.139.8]:41919 "EHLO ophelia.ess.nec.de") by vger.kernel.org with ESMTP id convert rfc822-to-8bit; Wed, 10 Jul 2002 08:31:31 -0400 Content-Type: text/plain; charset=US-ASCII From: Erich Focht To: Ingo Molnar Subject: Re: O(1) scheduler "complex" macros Date: Wed, 10 Jul 2002 14:34:07 +0200 X-Mailer: KMail [version 1.4] Cc: linux-kernel , linux-ia64 References: In-Reply-To: MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Message-Id: <200207101434.07804.efocht@ess.nec.de> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 807 Lines: 24 Hi Ingo, > there is one more detail - wait_task_inactive() needs to consider the > ->switch_lock as well - otherwise exit() might end up freeing the > pagetables earlier than the context-switch has truly finished. The > udelay(100) test should trigger this race. > > i've fixed this and uploaded the -A8 patch: > > http://redhat.com/~mingo/O(1)-scheduler/sched-2.5.25-A8 > > does this fix the ia64 crashes? you need to define an ia64-specific looks good! Rock solid despite udelay. Though a bit slower than before... Thanks a lot for the help! Erich - 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/