Re: [BUGFIX]{PATCH] flush icache on ia64 take2

KAMEZAWA Hiroyuki
2007-07-20T01:50:37Z

On Thu, 19 Jul 2007 17:18:59 +0200
Zoltan Menyhart <Zoltan.Menyhart@bull.net> wrote:

> KAMEZAWA Hiroyuki wrote:
>
> > Hmm...but the current code flushes the page. just do it in "lazy" way.
> > much difference ?
>
> I agree the current code flushes the I-cache for all kinds of file
> systems (for PTEs with the exec bit on).
>
> The error is that it does it after the PTE is written.
>
> In addition, I wanted to optimize it to gain a few %.
I'm glad, too if we can do it. But it seems that we need a bit
clever way to do that.

> Apparently this idea is not much welcome.
>
> I can agree that flushing the I-cache (if the architecture requires it)
> before setting the PTE eliminates the error.
>
Hm, I'll refresh and repost the patch.

Thanks,
-Kame