WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] if p2m_is_paging then p2m_mem_paging_populate

To: Patrick Colp <pjcolp@xxxxxxxxx>
Subject: [Xen-devel] if p2m_is_paging then p2m_mem_paging_populate
From: Olaf Hering <olaf@xxxxxxxxx>
Date: Tue, 31 Aug 2010 22:32:26 +0200
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 31 Aug 2010 13:33:18 -0700
Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; t=1283286749; l=672; s=domk; d=aepfle.de; h=Content-Type:MIME-Version:Subject:Cc:To:From:Date:X-RZG-CLASS-ID: X-RZG-AUTH; bh=OdHsb6FNrqKYBogB+Dv4csTlbrE=; b=UCGp8EtH5Wk93B+7LZAkPLE4VGXBtWPSoQlpXog7gjDdXLxEyAoZn2NHqqwkUXN5sMJ 9MQpinelPoAiMilyTu4X5voK8AcoWiZwhBgsxpNeOogvFdyNNUQxl1o13YCREP5y0sHSF ufJeZfsCzjBTkVHuSc/aTR5yMep/nfXdA3M=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.20 (2009-06-14)
Patrick,

when should p2m_mem_paging_populate() get called?
Currently there is a mix of p2m_is_paged and p2m_is_paging in
xen-unstable. The latter would mean that any of the paging states will
reset the flag to p2m_ram_paging_in_start. Well, unless its
p2m_ram_paging_out which is checked in p2m_mem_paging_populate itself.

I could prepare a patch to convert all callers to if p2m_is_paged() then
p2m_mem_paging_populate().

My guess is that the busy loop I see in my testing is caused by some
race where p2mt is reset to p2m_ram_paging_in_start so that xen itself
doesnt make any progress after a while. I'm currently debug that sort of
hang.


Olaf


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] if p2m_is_paging then p2m_mem_paging_populate, Olaf Hering <=