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

From: KAMEZAWA Hiroyuki
Date: Thu Jul 19 2007 - 21:50:38 EST


On Thu, 19 Jul 2007 17:18:59 +0200
Zoltan Menyhart <Zoltan.Menyhart@xxxxxxxx> 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

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