| To: | "King, Steven R" <steven.r.king@xxxxxxxxx> |
|---|---|
| Subject: | Re: [Xen-devel] implicit grant unmap |
| From: | Keir Fraser <Keir.Fraser@xxxxxxxxxxxx> |
| Date: | 2006年2月14日 21:28:43 +0000 |
| Cc: | xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx> |
| Delivery-date: | 2006年2月14日 21:42:04 +0000 |
| Envelope-to: | www-data@xxxxxxxxxxxxxxxxxxx |
| In-reply-to: | <44BDAFB888F59F408FAE3CC35AB470410301A899@orsmsx409 > |
| List-help: | <mailto:xen-devel-request@lists.xensource.com?subject=help> |
| List-id: | Xen developer discussion <xen-devel.lists.xensource.com> |
| List-post: | <mailto:xen-devel@lists.xensource.com> |
| List-subscribe: | <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe> |
| List-unsubscribe: | <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe> |
| References: | <44BDAFB888F59F408FAE3CC35AB470410301A899@orsmsx409 > |
| Sender: | xen-devel-bounces@xxxxxxxxxxxxxxxxxxx |
On 14 Feb 2006, at 21:07, King, Steven R wrote:
That's right. That grant will hang around until the domain is destroyed, at which point the grant is cleaned up by gnttab_release_mappings().I'm contemplating ways to avoid the domain_crash() in mm.c line ~615 without requiring new OS hooks. This crash occurs when the operating system writes a zero to the PTE for a grant mapping without an explicit Xen call to unmap. In hacking around, it seems the problem is this: When the mapping PTEgets squashed, Xen's cleanup_writable_pagetable() has no way to find thecorrect maptrack entry for the affected mapping. Consequently, the grant mapping is not properly cleaned-up. Sound correct? Are there worse problems here?
-- Keir _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [Xen-devel] implicit grant unmap , King, Steven R |
|---|---|
| Next by Date: | [Xen-devel] VMX status report changset 8833:39b392a22002 , Shi, Alex |
| Previous by Thread: | [Xen-devel] implicit grant unmap , King, Steven R |
| Next by Thread: | [Xen-devel] VMX status report changset 8833:39b392a22002 , Shi, Alex |
| Indexes: | [Date] [Thread] [Top] [All Lists] |