On Sep 13, 2006, at 8:15 AM, Keir Fraser wrote:
On 13/9/06 10:23, "Keir Fraser" <[EMAIL PROTECTED]> wrote:
Xenconsoled's mapping of the console page should keep the domain
hmm, I'm having trouble associating the "mapping" and a refcount of
some sort somewhere, any pointers?
See share_xen_page_with_guest() in arch/x86/mm.c. The refcnt is
xenheap_pages field reduces to zero in
Sorry, I'm talking rubbish here. As you say, the relevant code is
in the foreign mapping paths (e.g., in arch/x86/mm.c). Those paths
get_page() on the foreign page. This stops it being removed from
page list. A non-empty page list holds a reference on the domU. So
will not die until that foreign mapping is destroyed.
Xen-ppc-devel mailing list