* [hack] rh6 instability [not found] ` <Pine.LNX.4.10.9906161305470.2602-100000@localhost.localdomain> @ 1999-06-17 6:00 ` Richard Henderson 1999-06-17 9:45 ` Ivan Kokshaysky 0 siblings, 1 reply; 4+ messages in thread From: Richard Henderson @ 1999-06-17 6:00 UTC (permalink / raw) To: Daniel J. Frasnelli; +Cc: axp-list On Wed, Jun 16, 1999 at 01:13:12PM -0400, Daniel J. Frasnelli wrote: > By the way, several members of the Alpha Linux Org. including > myself have noted that there seem to be major stability problems/strange > errors under RH 6.0 with tasks that previously worked fine. I know. I've seen it myself. DaveM gave me the vital clue this evening over sushi -- vfork. The following hack disables vfork while I figure out what the real problem is. r~ --- 2.2.10-dist/arch/alpha/kernel/process.c Wed Jun 16 22:44:07 1999 +++ 2.2.10/arch/alpha/kernel/process.c Wed Jun 16 22:26:09 1999 @@ -282,8 +285,12 @@ int alpha_clone(unsigned long clone_flag int alpha_vfork(struct switch_stack * swstack) { +#if 0 return do_fork(CLONE_VFORK | CLONE_VM | SIGCHLD, rdusp(), (struct pt_regs *) (swstack+1)); +#else + return do_fork(SIGCHLD, rdusp(), (struct pt_regs *) (swstack+1)); +#endif } /* ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [hack] rh6 instability 1999-06-17 6:00 ` [hack] rh6 instability Richard Henderson @ 1999-06-17 9:45 ` Ivan Kokshaysky 1999-06-17 20:43 ` Richard Henderson 0 siblings, 1 reply; 4+ messages in thread From: Ivan Kokshaysky @ 1999-06-17 9:45 UTC (permalink / raw) To: Richard Henderson; +Cc: Daniel J. Frasnelli, axp-list On Wed, Jun 16, 1999 at 11:00:39PM -0700, Richard Henderson wrote: > On Wed, Jun 16, 1999 at 01:13:12PM -0400, Daniel J. Frasnelli wrote: > > By the way, several members of the Alpha Linux Org. including > > myself have noted that there seem to be major stability problems/strange > > errors under RH 6.0 with tasks that previously worked fine. > > I know. I've seen it myself. DaveM gave me the vital clue > this evening over sushi -- vfork. The following hack disables > vfork while I figure out what the real problem is. > There is a fix posted today on linux-kernel list (reverting code from 2.2.7 in entry.S). Works fine for me. BTW, what was the reason of removing 'call_pal PAL_tbi'? Ivan. --- linux-2.2.10/arch/alpha/kernel/entry.S.orig Mon May 10 20:55:21 1999 +++ linux-2.2.10/arch/alpha/kernel/entry.S Thu Jun 17 13:02:59 1999 @@ -525,7 +525,8 @@ .prologue 0 bsr $1,do_switch_stack call_pal PAL_swpctx - unop + lda $16,-2($31) + call_pal PAL_tbi bsr $1,undo_switch_stack mov $17,$0 ret $31,($26),1 ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [hack] rh6 instability 1999-06-17 9:45 ` Ivan Kokshaysky @ 1999-06-17 20:43 ` Richard Henderson 1999-06-18 10:36 ` Uncle George 0 siblings, 1 reply; 4+ messages in thread From: Richard Henderson @ 1999-06-17 20:43 UTC (permalink / raw) To: Ivan Kokshaysky; +Cc: Daniel J. Frasnelli, axp-list On Thu, Jun 17, 1999 at 01:45:58PM +0400, Ivan Kokshaysky wrote: > There is a fix posted today on linux-kernel list (reverting > code from 2.2.7 in entry.S). Works fine for me. That is no more a fix than turning off vfork. > BTW, what was the reason of removing 'call_pal PAL_tbi'? That is flushing the entire TLB during each and every context switch. We do not want this, as we're supposed to be using ASNs. r~ ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [hack] rh6 instability 1999-06-17 20:43 ` Richard Henderson @ 1999-06-18 10:36 ` Uncle George 0 siblings, 0 replies; 4+ messages in thread From: Uncle George @ 1999-06-18 10:36 UTC (permalink / raw) To: axp-list Flushing the entire TLB worked for me in 2.2.9, although probably expensive. from my initial rereading of the asm book, i dont see how u get away with not using tlb's, as they appear to happen automajically. Guess i'll have to reread mo slowly. gat Richard Henderson wrote: > On Thu, Jun 17, 1999 at 01:45:58PM +0400, Ivan Kokshaysky wrote: > > There is a fix posted today on linux-kernel list (reverting > > code from 2.2.7 in entry.S). Works fine for me. > > That is no more a fix than turning off vfork. > > > BTW, what was the reason of removing 'call_pal PAL_tbi'? > > That is flushing the entire TLB during each and every context switch. > We do not want this, as we're supposed to be using ASNs. > > r~ > > -- > 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 ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1999-06-18 12:58 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <19990616093219.A2537@twiddle.net>
[not found] ` <Pine.LNX.4.10.9906161305470.2602-100000@localhost.localdomain>
1999-06-17 6:00 ` [hack] rh6 instability Richard Henderson
1999-06-17 9:45 ` Ivan Kokshaysky
1999-06-17 20:43 ` Richard Henderson
1999-06-18 10:36 ` Uncle George
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox