xen-devel
RE: [Xen-devel][PATCH] unshadow the page table page which are used asdat
>From: Xin, Xiaohui
>Sent: 2007年12月10日 10:48
>
>Hi, Tim
>Heard from Kevin that the Linux kernel writes swap cache
>entries in swap cache pages. And the swap cache entries
>contains only type and offset which seems not contains valid
>mfn at all. Does the patch will hurt this? Is there any other
>situations that guest write NON-PTE entries in the page tables?
It seems that unshadow has no correctness issue, and only
hurt the performance when unshadowed page is used in page
walk path again next time. At that time, shadow fault path will
re-walk guest page table to find updated value.
In this context, if windows programs Non-PTE-like values in PTE
like swap usage in Linux, by clearing the present bit, the
performance to inject guest page fault for those special values
are hurt a bit. The difference is on a fast-path N/P check and a
full-path N/P check.
So we need balance the gain and loss here. Tim, how much
difference per your experience for a fast-path N/P? If not much,
maybe it's worthy doing it then. :-)
Thanks,
Kevin
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel][PATCH] unshadow the page table page which are used as data page, Xin, Xiaohui
- Re: [Xen-devel][PATCH] unshadow the page table page which are used as data page, Tim Deegan
- RE: [Xen-devel][PATCH] unshadow the page table page which are used as data page, Xin, Xiaohui
- Re: [Xen-devel][PATCH] unshadow the page table page which are used as data page, Tim Deegan
- Re: [Xen-devel][PATCH] unshadow the page table page which are used as data page, Tim Deegan
- RE: [Xen-devel][PATCH] unshadow the page table page which are used as data page, Xin, Xiaohui
- RE: [Xen-devel][PATCH] unshadow the page table page which are used asdata page,
Tian, Kevin <=
- Re: [Xen-devel][PATCH] unshadow the page table page which are used as data page, Keir Fraser
- RE: [Xen-devel][PATCH] unshadow the page table page which areused as data page, Tian, Kevin
- RE: [Xen-devel][PATCH] unshadow the page table page which areused as data page, Stephen C. Tweedie
- RE: [Xen-devel][PATCH] unshadow the page table page which areusedas data page, Tian, Kevin
- RE: [Xen-devel][PATCH] unshadow the page table page which areused as data page, Xin, Xiaohui
- Re: [Xen-devel][PATCH] unshadow the page table page which areused as data page, Keir Fraser
Re: [Xen-devel][PATCH] unshadow the page table page which are used as data page, Jun Koi
|
|
|