|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] Re: Xen's use of PAT and PV guests
>>> Jeremy Fitzhardinge <jeremy@xxxxxxxx> 30.03.10 20:43 >>>
>On 03/30/2010 09:57 AM, Konrad Rzeszutek Wilk wrote:
>> How does this work on pages shared across domains? Say Guest A makes the
>> page WC,Dom0 makes it WB and Xen puts it in WC, and Dom0 reads does a
>> Write/Read/Write, but in actuallity it is a Read/Write/Write. Or is
>> there no danger there since the grant table pages have UC set on them?
>>
>
>Not sure. That would invoke undefined behaviour, I'd assume. Does Xen
>keep track of memory type aliases? Grant pages don't have to be UC do
>they? Pages between front and backends don't need to be (and shouldn't
>be) UC.
Granted pages are RAM pages, and hence should always be WB
everywhere.
As to Xen's memory type handling - iirc the most recent memory type
used in a page table entry determines what Xen uses in its 1:1 mapping,
but I don't think global consistency is being enforced.
Jan
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|