]> xenbits.xensource.com Git - xen.git/commitdiff
Revert "x86/mm: ensure L2 is always freed if empty"
authorAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 31 Oct 2024 17:11:04 +0000 (17:11 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 31 Oct 2024 17:11:04 +0000 (17:11 +0000)
CI says no:

  https://gitlab.com/xen-project/hardware/xen/-/jobs/8240163332

This reverts commit a6dba2761e2ecaa7ffc3d3bb3c85685d232bbe68.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/mm.c

index 0f53dcebad9596445c775a55323f35b97f0704cc..d537a799bceddb122363f5507688a76a3938e9cd 100644 (file)
@@ -5717,7 +5717,7 @@ int modify_xen_mappings(unsigned long s, unsigned long e, unsigned int nf)
 
             v += 1UL << L2_PAGETABLE_SHIFT;
             v &= ~((1UL << L2_PAGETABLE_SHIFT) - 1);
-            goto check_l3;
+            continue;
         }
 
         if ( l2e_get_flags(*pl2e) & _PAGE_PSE )