Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d740d45d authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "mm, compaction: make sure we isolate a valid PFN"

parents 94672846 211b97e4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1399,7 +1399,7 @@ fast_isolate_freepages(struct compact_control *cc)
				page = pfn_to_page(highest);
				cc->free_pfn = highest;
			} else {
				if (cc->direct_compaction) {
				if (cc->direct_compaction && pfn_valid(min_pfn)) {
					page = pfn_to_page(min_pfn);
					cc->free_pfn = min_pfn;
				}