Subject: Re: VM change for R4000
To: None <port-mips@netbsd.org>
From: Matt Thomas <matt@3am-software.com>
List: port-mips
Date: 03/12/2005 21:35:12
At 07:40 PM 3/12/2005, Izumi Tsutsui wrote:
>In article <d70571f48b4c0616cfa99445c425560f@3am-software.com>
>matt@3am-software.com wrote:
>
> > I have felt for a long time, that when mmap chooses a dynamic address
> > for a
> > vnode, it should use an existing mapped adress for that vnode, or
> > choose a
> > new address that has no other vnode mapped as text.
>
>Choosing a new address doesn't help for virtual aliases on VIPT cache,
>I think. What we have to do is to choose an address which have
>the same VA index with existing mapped one, isn't it?

Nope.  It only chooses a new address if it's not already mapped.
Otherwise it returns the currently mapped address.


-- 
Matt Thomas                     email: matt@3am-software.com
3am Software Foundry              www: http://3am-software.com/bio/matt/
Cupertino, CA              disclaimer: I avow all knowledge of this message.