Re: [Xen-devel] Re: [GIT PULL] xen /proc/mtrr implementation
From: Gerd Hoffmann
Date: Tue May 19 2009 - 10:57:08 EST
No, the linux kernel probably should do the wrmsr on one cpu only then.
Why?
| The change of MTRR's on _any_ of the guest CPUs in a dom0 context
| should immediately be refected on all CPUs. Assymetric MTRR
| settings are madness.
Exactly. And thats why it is pointless to let the dom0 kernel write the
mtrr msrs on more than one cpu.
Oops, the third "proper technical solutions" is missing.
Yeah, the third one is to not touch MTRRs after bootup and use PAT.
Works only in case the CPU has PAT support.
Which specific CPU without PAT support do you worry about?
For example: I have a Notebook here, with MTRR and without PAT
according to the boot log. "Pentium III (Coppermine)" says /proc/cpuinfo.
cheers,
Gerd
--
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/