Subject: TLBUpdate() to be nuked
To: None <port-mips@netbsd.org>
From: Toru Nishimura <nisimura@itc.aist-nara.ac.jp>
List: port-mips
Date: 09/29/2000 14:48:58
Hello, MIPS Folks.

I'd like to eliminate TLBUpdate() from mips/mips/pmap.c.  People who
are using various NetBSD/mips ports, newsmips, hpcmips, arc, cobalt
and sgimips, could you check the following does not introduce any
trouble, say, running well with no mulfunction and no performance
decrease with memory intensive work load?

I've checked it for NetBSD/pmax, with either of R3000 and R4000 processor,
by running kernel compile make -j 2 'CC=cc -pipe' and it looks ok so far. 

If it is proven perfect, I will eliminate TLBUpdate().

 /// SCORE ///
	port name	processor			test result
	---------------------------------------------------------
	pmax		R3000				ok
			R4000 with 1MB L2		ok
	newsmips
	hpcmips
	arc
	cobalt
	sgimips
	---------------------------------------------------------

Index: pmap.c
===================================================================
RCS file: /cvsroot/syssrc/sys/arch/mips/mips/pmap.c,v
retrieving revision 1.108
diff -c -r1.108 pmap.c
*** pmap.c	2000/09/21 17:46:06	1.108
--- pmap.c	2000/09/29 05:33:42
***************
*** 125,130 ****
--- 125,133 ----
  #include <mips/locore.h>
  #include <mips/pte.h>
  
+ #undef	MachTLBUpdate
+ #define	MachTLBUpdate(x, y) MIPS_TBIS(x)
+ 
  #ifdef DEBUG
  struct {
  	int kernel;	/* entering kernel mapping */