Subject: Re: pmap_protect() implementation
To: Michael L. Hitch <mhitch@lightning.msu.montana.edu>
From: Warner Losh <imp@village.org>
List: port-mips
Date: 03/29/2000 10:28:39
In message <Pine.ULT.4.05.10003291014060.8120-100000@lightning.msu.montana.edu> "Michael L. Hitch" writes:
:   The R4000 only has 48 total entries (although each entry is for two
: pages), and only 40 entries available for random use.  [I think the
: number of wired entries could be reduced, at least for the pmax.]

The arc port uses only 2 or 3, if it inherited the same structure it
had in OpenBSD/arc.

:   Perhaps we need a different TLBUpdate that only updates current entries,
: but does not enter new ones?

Effectively flushing the TLB often tends to have a huge negative
impact on performace....

This is even more important on machines supported by the hpcmips port
because they tend to only have 32 tlb entries.

Warner