We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ab58fcf commit 700cfb5Copy full SHA for 700cfb5
mm/page_alloc.c
@@ -46,6 +46,7 @@
46
#include <linux/stop_machine.h>
47
#include <linux/sort.h>
48
#include <linux/pfn.h>
49
+#include <xen/xen.h>
50
#include <linux/backing-dev.h>
51
#include <linux/fault-inject.h>
52
#include <linux/page-isolation.h>
@@ -347,6 +348,9 @@ static inline bool update_defer_init(pg_data_t *pgdat,
347
348
/* Always populate low zones for address-constrained allocations */
349
if (zone_end < pgdat_end_pfn(pgdat))
350
return true;
351
+ /* Xen PV domains need page structures early */
352
+ if (xen_pv_domain())
353
+ return true;
354
(*nr_initialised)++;
355
if ((*nr_initialised > pgdat->static_init_pgcnt) &&
356
(pfn & (PAGES_PER_SECTION - 1)) == 0) {
0 commit comments