From: Bob McElrath <mcelrath@draal.physics.wisc.edu>
To: axp-list@redhat.com
Subject: Re: [patch] 2.1.x user space hangs
Date: Wed, 21 Oct 1998 13:50:25 -0500 (CDT) [thread overview]
Message-ID: <Pine.LNX.3.96.981021134800.6317C-100000@draal> (raw)
In-Reply-To: <s2vems6ekcw.fsf@mermaid.ucc.gu.uwa.edu.au>
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_|
\.___________________________________________________________________./
next prev parent reply other threads:[~1998-10-21 18:59 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-10-18 1:20 [patch] 2.1.x user space hangs Mikolaj J. Habryn
1998-10-21 18:50 ` Bob McElrath [this message]
1998-10-21 20:06 ` Nils Faerber
1998-10-21 21:06 ` Bob McElrath
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox