Re: Silliness in pmap code?

2001-08-24 Thread Matt Dillon
:pmap_pte_quick(pmap, va) :register pmap_t pmap; :vm_offset_t va; :{ :unsigned pde, newpf; :/* : * Check if the appropriate PDE is valid. If not, we're done. : */ :**A** if ((pde = (unsigned) pmap->pm_pdir[va >> PDRSHIFT]) != :0) { :

Silliness in pmap code?

2001-08-24 Thread Julian Elischer
Consider the folowing function: /* * Super fast pmap_pte routine best used when scanning * the pv lists. This eliminates many coarse-grained * invltlb calls. Note that many of the pv list * scans are across different pmaps. It is very wasteful * to do an entire invltlb for checking a sing