Re: [BUGFIX][PATCH] DO flush icache before set_pte() on ia64.

From: KAMEZAWA Hiroyuki
Date: Fri Jul 06 2007 - 17:57:47 EST


On Fri, 6 Jul 2007 10:32:29 -0700 (PDT)
Christoph Lameter <clameter@xxxxxxx> wrote:

> I am a bit worried about the performance impact of all this flushing? What
> is the worst case scenario here?
>

IMHO....
When a user set VM_EXEC to their anonymous memory intentionally and
does many page faults.

I myself don't think (file's) page cache flushing is not so heavy work because
PG_arch_1 guarantees that icache flushing occurs just once at the first
read in the system.

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/