]> xenbits.xensource.com Git - xen.git/commitdiff
Revert "x86/mm: add temporary debugging code to get_page_from_gfn_p2m()"
authorJan Beulich <jbeulich@suse.com>
Wed, 14 Jun 2017 09:43:12 +0000 (11:43 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 14 Jun 2017 09:43:12 +0000 (11:43 +0200)
This reverts commit 933f966bcdf4f4255b432071fc12c9ee2efb05ef.

Acked-by: George Dunlap <george.dunlap@citrix.com>
xen/arch/x86/mm/p2m.c

index 9eb6dc810337b68f5b1e0d50a05162b8a8adcf6d..bee733dc46fd853b8f8e245e6b8a1db5eef103c0 100644 (file)
@@ -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;