From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 26152 invoked from network); 18 Oct 1998 01:28:38 -0000 Received: from mail.redhat.com (199.183.24.239) by mail2.redhat.com with SMTP; 18 Oct 1998 01:28:38 -0000 Received: from moray.ucc.gu.uwa.edu.au (root@moray.ucc.gu.uwa.edu.au [130.95.101.9]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id VAA21394 for ; Sat, 17 Oct 1998 21:20:58 -0400 Received: from mermaid.ucc.gu.uwa.edu.au (dichro@mermaid.ucc.gu.uwa.edu.au [130.95.101.17]) by moray.ucc.gu.uwa.edu.au (8.8.8/8.8.8/Debian/GNU) with ESMTP id JAA32324 for ; Sun, 18 Oct 1998 09:20:48 +0800 Received: (from dichro@localhost) by mermaid.ucc.gu.uwa.edu.au (8.8.8/8.8.8/Debian/GNU) id JAA17119; Sun, 18 Oct 1998 09:20:47 +0800 From: dichro-axp-list@rcpt.to (Mikolaj J. Habryn) To: axp-list@redhat.com Subject: [patch] 2.1.x user space hangs Mime-Version: 1.0 (generated by tm-edit 7.108) Content-Type: text/plain; charset=US-ASCII Date: 18 Oct 1998 09:20:47 +0800 Message-ID: X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald" 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