Re: Instruction Cache Alias and the 405

From: willy@thepuffingroup.com
Date: Mon Apr 03 2000 - 22:52:56 EST


On Mon, Apr 03, 2000 at 06:00:33PM -0700, Jeremy Fitzhardinge wrote:
>
> On 04-Apr-2000 willy@thepuffingroup.com wrote:
> > did an mmap itself of the same executable at two addresses; but this
> > is quite unusual. It doesn't matter though if your instruction caches
> > contains aliases since you never write to an instruction page.
>
> Actually you do quite often during dynamic linking, but you also need to
> do an explicit icache flush after modifying the code for all
> architectures where the I and D caches are not coherent.

One process mmaps the same executable image twice in the same address
space at different addresses? Could you illustrate how that happens to
me? I thought that each image was mapped only once by the same process.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Apr 07 2000 - 21:00:11 EST