Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261169AbTFCUqM (ORCPT ); Tue, 3 Jun 2003 16:46:12 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261168AbTFCUqL (ORCPT ); Tue, 3 Jun 2003 16:46:11 -0400 Received: from aneto.able.es ([212.97.163.22]:26577 "EHLO aneto.able.es") by vger.kernel.org with ESMTP id S261161AbTFCUqI (ORCPT ); Tue, 3 Jun 2003 16:46:08 -0400 Date: Tue, 3 Jun 2003 22:59:29 +0200 From: "J.A. Magallon" To: Mike Galbraith Cc: linux-kernel@vger.kernel.org Subject: sched.c gives ICE [Was: Re: web page on O(1) scheduler] Message-ID: <20030603205929.GC3661@werewolf.able.es> References: <5.2.0.9.2.20030521111037.01ed0d58@pop.gmx.net> <16075.8557.309002.866895@napali.hpl.hp.com> <5.2.0.9.2.20030521111037.01ed0d58@pop.gmx.net> <5.2.0.9.2.20030522114349.00cfd8f8@pop.gmx.net> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: 7BIT In-Reply-To: <5.2.0.9.2.20030522114349.00cfd8f8@pop.gmx.net>; from efault@gmx.de on Thu, May 22, 2003 at 11:52:24 +0200 X-Mailer: Balsa 2.0.11 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1966 Lines: 43 On 05.22, Mike Galbraith wrote: > At 10:56 AM 5/21/2003 -0700, David Mosberger wrote: > > >>>>> On Wed, 21 May 2003 11:26:31 +0200, Mike Galbraith > > said: > > > > Mike> The page mentions persistent starvation. My own explorations > > Mike> of this issue indicate that the primary source is always > > Mike> selecting the highest priority queue. > > > >My working assumption is that the problem is a bug with the dynamic > >prioritization. The task receiving the signals calls sleep() after > >handling a signal and hence it's dynamic priority should end up higher > >than the priority of the task sending signals (since the sender never > >relinquishes the CPU voluntarily). > > > >However, I haven't actually had time to look at the relevant code, so > >I may be missing something. If you understand the issue better, > >please explain to me why this isn't a dynamic priority issue. > > You're right, it looks like a corner case. It works fine here with the > attached diff. > Have you tried to build with gcc-3.3 ? I applied it on top of 2.4.x-aa, and I just get an ICE: End of search list. sched.c: In function `do_schedule': sched.c:1003: internal compiler error: in merge_assigned_reloads, at reload1.c:6134 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. sched.c::1003 is the closing brace for do_schedule(). Any idea ? -- J.A. Magallon \ Software is like sex: werewolf.able.es \ It's better when it's free Mandrake Linux release 9.2 (Cooker) for i586 Linux 2.4.21-rc6-jam1 (gcc 3.2.3 (Mandrake Linux 9.2 3.2.3-1mdk)) - 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/