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

Commit 759c97a6 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "mm: change freepage state correctly in __isolate_free_page"

parents e2a39be2 509af94c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1475,7 +1475,7 @@ static int __isolate_free_page(struct page *page, unsigned int order)
	zone = page_zone(page);
	mt = get_pageblock_migratetype(page);

	if (!is_migrate_isolate(mt) && !is_migrate_cma(mt)) {
	if (!is_migrate_isolate(mt)) {
		/* Obey watermarks as if the page was being allocated */
		watermark = low_wmark_pages(zone) + (1 << order);
		if (!is_migrate_cma(mt) &&