Re: [patch] voluntary-preempt-2.6.9-rc1-bk4-Q5

From: Andi Kleen
Date: Tue Aug 31 2004 - 18:17:32 EST


Ingo Molnar <mingo@xxxxxxx> writes:

> The question is, does any of the Intel (or AMD) docs
> say that the CPU cache has to be write-back flushed when setting MTRRs,
> or were those calls only done out of paranoia?

Both the Intel and AMD docs require the cache flush for MTRR
caching attribute changes.

At least in pageattr (which is related) i know of cases where
not doing them caused data corruption in real loads.

-Andi


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