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

From: Zoltan Menyhart
Date: Thu Jul 19 2007 - 11:19:24 EST


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 %.
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.

Thanks,

Zoltan
-
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/