Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 06 Dec 1996 04:18:29 +0100
From:      Tor Egge <Tor.Egge@idt.ntnu.no>
To:        smp@csn.net
Cc:        smp@FreeBSD.ORG, smp@bluenose.na.tuns.ca, Janick.Taillandier@ratp.fr, peter@spinner.dialix.com
Subject:   Re: last major problem
Message-ID:  <199612060318.EAA09185@pat.idt.unit.no>
In-Reply-To: Your message of "Thu, 05 Dec 1996 20:06:51 -0700"
References:  <199612060306.UAA16913@clem.systemsix.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> Hi,
> 
>  It appears we have one last serious problem to fix.  3 users report
> crashing shortly after starting the 2nd CPU.

Two data points:

  1. I did not have 

	options         SMP_INVLTLB

     in my kernel config file.

  2. I'll report back when I've tried the following patch:

Index: pmap.c
===================================================================
RCS file: /export/akg1/smp-cvs/sys/i386/i386/pmap.c,v
retrieving revision 1.31
diff -c -r1.31 pmap.c
*** pmap.c	1996/12/03 05:51:12	1.31
--- pmap.c	1996/12/06 03:09:33
***************
*** 552,557 ****
--- 552,560 ----
  	if (frame != (((unsigned) APTDpde) & PG_FRAME)) {
  		APTDpde = (pd_entry_t) (frame | PG_RW | PG_V);
  		invltlb();
+ #if defined(SMP_INVLTLB)
+ 		smp_invltlb();
+ #endif
  	}
  	return (unsigned *) APTmap;
  }


- Tor Egge



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