Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* [patch] 2.1.x user space hangs
@ 1998-10-18  1:20 Mikolaj J. Habryn
  1998-10-21 18:50 ` Bob McElrath
  0 siblings, 1 reply; 4+ messages in thread
From: Mikolaj J. Habryn @ 1998-10-18  1:20 UTC (permalink / raw)
  To: axp-list

  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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [patch] 2.1.x user space hangs
  1998-10-18  1:20 [patch] 2.1.x user space hangs Mikolaj J. Habryn
@ 1998-10-21 18:50 ` Bob McElrath
  1998-10-21 20:06   ` Nils Faerber
  0 siblings, 1 reply; 4+ messages in thread
From: Bob McElrath @ 1998-10-21 18:50 UTC (permalink / raw)
  To: axp-list

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_|
  \.___________________________________________________________________./


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [patch] 2.1.x user space hangs
  1998-10-21 18:50 ` Bob McElrath
@ 1998-10-21 20:06   ` Nils Faerber
  1998-10-21 21:06     ` Bob McElrath
  0 siblings, 1 reply; 4+ messages in thread
From: Nils Faerber @ 1998-10-21 20:06 UTC (permalink / raw)
  To: axp-list

> 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.
Have you ever tried to play quake and have enhanced RTC in kernel? Without
the patch I get random short hangs and even complete system freeze, with the
patch everything is fine ;)

> On 18 Oct 1998, Mikolaj J. Habryn wrote:
> > --- 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
CU
  nils

-- 
Nils Faerber (Linux Nils)        eMail: nils@unix-ag.org
Student of computer science      http://www.si.unix-ag.org/~nils/
Unix user group, University of Siegen, Germany

Siegen ... the arctic rain forest!
--


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [patch] 2.1.x user space hangs
  1998-10-21 20:06   ` Nils Faerber
@ 1998-10-21 21:06     ` Bob McElrath
  0 siblings, 0 replies; 4+ messages in thread
From: Bob McElrath @ 1998-10-21 21:06 UTC (permalink / raw)
  To: axp-list

On Wed, 21 Oct 1998, Nils Faerber wrote:

> > 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.
> Have you ever tried to play quake and have enhanced RTC in kernel? Without
> the patch I get random short hangs and even complete system freeze, with the
> patch everything is fine ;)

I don't play quake.  Quake is the spawn of Satan.  EVIL.  Run away.  Run far
away.  Oh, and it must be the RTC in your kernel...I've heard all kinds of
complaints of timing problems with RTC kernels.  (I don't run RTC)

-- 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_|
  \.___________________________________________________________________./


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1998-10-21 21:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-10-18  1:20 [patch] 2.1.x user space hangs Mikolaj J. Habryn
1998-10-21 18:50 ` Bob McElrath
1998-10-21 20:06   ` Nils Faerber
1998-10-21 21:06     ` Bob McElrath

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox