tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pmap_enter(9) rework



On Sat, 2 Feb 2013, Toru Nishimura wrote:

> I feel boring that pmap_enter(9) can not avoid to
> have goto jumps for the logic simplity.  This indicates
> pmap_enter(9) is mistakenly designed and used for
> mulitple purposes in parallel.  Rework is seriously
> requested..

I've always felt the p->v mapping should be managed by higher level code 
and that pmap(9) should be allowed to forget any mappings that aren't 
wired.  Implementing all that in VM code would be more maintainable than 
having each pmap have to manage all that.  It makes porting a pmap layer 
onto a new MMU a pain.

Eduardo


Home | Main Index | Thread Index | Old Index