|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] RE: Why "Don't use shadow linear maps in sh_set_toplevel_sha
>At 23:13 +0800 on 17 Nov (1163805188), Li, Xin B wrote:
>> It's changeset 12399, but can not understand, can you pls explain?
>
>Because we can't use the shadow linear maps before we build them.
>The top-level shadow entry is explicitly null during that routine, and
>the writeable-mappings heuristics use the shadow linear map, so it's
>not safe to use them there.
>
Not understand.
writing a new cr3 means a context switch, guest kernel address space
should be still accessible during the switching, so it seems OK to me to
use the heuristics.
And what do you mean by "safe"?
thanks
-Xin
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|