From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 23181 invoked from network); 21 Oct 1998 18:59:20 -0000 Received: from mail.redhat.com (199.183.24.239) by mail2.redhat.com with SMTP; 21 Oct 1998 18:59:20 -0000 Received: from draal.physics.wisc.edu (mcelrath@draal.physics.wisc.edu [128.104.223.134]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id OAA32454 for ; Wed, 21 Oct 1998 14:50:32 -0400 Received: from localhost (mcelrath@localhost) by draal.physics.wisc.edu (8.8.7/8.8.7) with SMTP id NAA06526 for ; Wed, 21 Oct 1998 13:50:25 -0500 Date: Wed, 21 Oct 1998 13:50:25 -0500 (CDT) From: Bob McElrath X-Sender: mcelrath@draal To: axp-list@redhat.com Subject: Re: [patch] 2.1.x user space hangs In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII I just tested the following program: main() { for(;;); } And I get *no* crashing. Not even any visible performance degradation. It does, of course, eat cpu like a banshee... This is on a kernel 2.1.125 on a LX164. On 18 Oct 1998, Mikolaj J. Habryn wrote: > Is anyone else seeing small scheduling problems under 2.1 kernels? > Specifically, running loops like for(;;); locking the machine up? I > noticed this a while back, and have a patch that appears to fix it, > but I have no idea (and would really like to know!) why the line that > it removes is there in the first place, and I'd like some opinions, if > at all possible. An earlier post to l-k garnered only one response, > albeit a positive one. > > m. > > --- linux-2.1.124/arch/alpha/kernel/entry.S.orig Fri Oct 9 17:26:52 1998 > +++ linux-2.1.124/arch/alpha/kernel/entry.S Fri Oct 9 17:32:44 1998 > @@ -552,7 +552,6 @@ > ret_from_sys_call: > cmovne $26,0,$19 /* $19 = 0 => non-restartable */ > /* check bottom half interrupts */ > - bne $1,ret_from_handle_bh > ldq $3,bh_active > ldq $4,bh_mask > and $3,$4,$2 > > -- > To unsubscribe: send e-mail to axp-list-request@redhat.com with > 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com > -- Bob ./'^`\._./'~`\._./'~`\._./'~`\._./'#`\._./'~`\._./'~`\._./'~`\._./'^`\. / Rube Goldberg? Bah! Amateur! I give you..Windows 98! Linux everywhere \ | Linux, because everyone's work is mission critical. ANYTHING inside. | |_Bob McElrath (mcelrath@wisconsin.cern.ch) Univ. of Wisconsin at Madison_| \.___________________________________________________________________./