cvs commit: src/sys/powerpc/powerpc mmu_oea.c

Peter Grehan grehan at freebsd.org
Thu Dec 21 19:35:18 PST 2006


> Could we just evict one random entry from either the primary or 
> secondary PTEG and use that spot to insert the current PTE?
> (Isn't the whole point of pvo_entry to permit pages to be searched 
> quickly if their virtual->physical mapping has already been computed 
> before, basically making page faults to pages that have been evicted 
> from their PTEGs very cheap (because we don't need to walk the vm_map 
> entries etc again)?)

  Yes, though you have to make sure it isn't wired, and probably prefer 
discarding user PTEs over kernel PTEs. I'm also not sure if the code 
path on a DSI miss for a valid PTE works. But this shouldn't be too hard 
to test.

later,

Peter.


More information about the cvs-all mailing list