From: weiming Subject: what's the relationship between writable page and update_va_mapping? Date: Sat, 29 Mar 2008 23:47:44 -0400 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1564742584==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Mime-version: 1.0 Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel List-Id: xen-devel@lists.xenproject.org --===============1564742584== Content-Type: multipart/alternative; boundary="----=_Part_21520_7393607.1206848864260" ------=_Part_21520_7393607.1206848864260 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, I'm running pv x86_64 linux under xen. When I read the source code of the pv linux, I find that it use update_va_mapping and mmu_update to modify the page table. However, with the writable page table mechanism, why do we need those explicit hypercalls to modify page table? In my understanding, when the guest tries to modify the page table entry, such attempts will be captured by "ptwr_do_page_fault" and then verified. Please help to clarify my puzzle. :S Thanks, Weiming ------=_Part_21520_7393607.1206848864260 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi,

I'm running pv x86_64 linux under xen.

When I read the source code of the pv linux, I find that it use update_va_mapping and mmu_update to modify the page table.

However, with the writable page table mechanism, why do we need those explicit hypercalls to modify page table? In my understanding, when the guest tries to modify the page table entry, such attempts will be captured by "ptwr_do_page_fault" and then verified.

Please help to clarify my puzzle. :S

Thanks,
Weiming
------=_Part_21520_7393607.1206848864260-- --===============1564742584== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============1564742584==--