Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Dec 1997 10:51:13 +1100
From:      Bruce Evans <bde@zeta.org.au>
To:        ache@nagual.pp.ru, dyson@FreeBSD.ORG
Cc:        freebsd-current@FreeBSD.ORG, pb@fasterix.freenix.org
Subject:   Re: panics with csh under -current: looking for testers
Message-ID:  <199712212351.KAA30446@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>> No, you need 1.37. :-(.
>
>I have this panic with 1.37 too.

The upages for the new process are sometimes wrong.  Reverting to
always always flushing the TLB in cpu_switch() fixes this.  I think
the upages don't go away properly on exit() after vfork() without
an intemediate exec().

Bruce

diff -c2 swtch.s~ swtch.s
*** swtch.s~	Mon Dec 15 22:19:45 1997
--- swtch.s	Mon Dec 22 10:39:20 1997
***************
*** 612,617 ****
  	/* switch address space */
  	movl	%cr3,%ebx
  	cmpl	PCB_CR3(%edx),%ebx
! 	je		4f
  #if defined(SWTCH_OPTIM_STATS)
  	decl	_swtch_optim_stats
--- 612,619 ----
  	/* switch address space */
  	movl	%cr3,%ebx
+ #if 0
  	cmpl	PCB_CR3(%edx),%ebx
! 	je	4f
! #endif
  #if defined(SWTCH_OPTIM_STATS)
  	decl	_swtch_optim_stats



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199712212351.KAA30446>