[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen master] Revert "x86/mm: add temporary debugging code to get_page_from_gfn_p2m()"



commit 6391b221139348f35432a592b94c2d624770f674
Author:     Jan Beulich <jbeulich@xxxxxxxx>
AuthorDate: Wed Jun 14 11:36:42 2017 +0200
Commit:     Jan Beulich <jbeulich@xxxxxxxx>
CommitDate: Wed Jun 14 11:36:42 2017 +0200

    Revert "x86/mm: add temporary debugging code to get_page_from_gfn_p2m()"
    
    This reverts commit 933f966bcdf4f4255b432071fc12c9ee2efb05ef.
    
    Acked-by: George Dunlap <george.dunlap@xxxxxxxxxx>
---
 xen/arch/x86/mm/p2m.c | 16 ----------------
 1 file changed, 16 deletions(-)

diff --git a/xen/arch/x86/mm/p2m.c b/xen/arch/x86/mm/p2m.c
index 9eb6dc8..bee733d 100644
--- a/xen/arch/x86/mm/p2m.c
+++ b/xen/arch/x86/mm/p2m.c
@@ -480,22 +480,6 @@ struct page_info *get_page_from_gfn_p2m(
     p2m_access_t _a;
     p2m_type_t _t;
     mfn_t mfn;
-#ifndef NDEBUG
-    /*
-     * Temporary debugging code, added in the hope of finding the origin
-     * of calls to get_page(..., dom_cow) as observed during osstest
-     * migration failures (see
-     * lists.xenproject.org/archives/html/xen-devel/2017-04/msg03331.html).
-     */
-    static unsigned long cnt, thr;
-
-    if ( d->is_dying && ++cnt > thr )
-    {
-        thr |= cnt;
-        printk("%pv: d%d dying (looking up %lx)\n", current, d->domain_id, 
gfn);
-        dump_execution_state();
-    }
-#endif
 
     /* Allow t or a to be NULL */
     t = t ?: &_t;
--
generated by git-patchbot for /home/xen/git/xen.git#master

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
https://lists.xenproject.org/xen-changelog

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.