projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mm: compaction: do not compact pgdat for order-0
[platform/adaptation/renesas_rcar/renesas_kernel.git]
/
mm
/
compaction.c
diff --git
a/mm/compaction.c
b/mm/compaction.c
index
05ccb4c
..
c437893
100644
(file)
--- a/
mm/compaction.c
+++ b/
mm/compaction.c
@@
-1131,6
+1131,9
@@
void compact_pgdat(pg_data_t *pgdat, int order)
.sync = false,
};
.sync = false,
};
+ if (!order)
+ return;
+
__compact_pgdat(pgdat, &cc);
}
__compact_pgdat(pgdat, &cc);
}