* implicit grant unmap
@ 2006-02-14 21:07 King, Steven R
2006-02-14 21:28 ` Keir Fraser
0 siblings, 1 reply; 2+ messages in thread
From: King, Steven R @ 2006-02-14 21:07 UTC (permalink / raw)
To: xen-devel
Hello All,
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 PTE
gets squashed, Xen's cleanup_writable_pagetable() has no way to find the
correct maptrack entry for the affected mapping. Consequently, the
grant mapping is not properly cleaned-up.
Sound correct? Are there worse problems here?
Thanks,
-steve
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: implicit grant unmap
2006-02-14 21:07 implicit grant unmap King, Steven R
@ 2006-02-14 21:28 ` Keir Fraser
0 siblings, 0 replies; 2+ messages in thread
From: Keir Fraser @ 2006-02-14 21:28 UTC (permalink / raw)
To: King, Steven R; +Cc: xen-devel
On 14 Feb 2006, at 21:07, King, Steven R wrote:
> 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 PTE
> gets squashed, Xen's cleanup_writable_pagetable() has no way to find
> the
> correct maptrack entry for the affected mapping. Consequently, the
> grant mapping is not properly cleaned-up.
>
> Sound correct? Are there worse problems here?
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().
-- Keir
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-02-14 21:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-02-14 21:07 implicit grant unmap King, Steven R
2006-02-14 21:28 ` Keir Fraser
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.