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

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

Merge "mm: process_reclaim: consider compound pages"

parents 0eab456a 9a21c589
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1693,7 +1693,7 @@ static int reclaim_pte_range(pmd_t *pmd, unsigned long addr,
		if (!page)
			continue;

		if (isolate_lru_page(page))
		if (isolate_lru_page(compound_head(page)))
			continue;

		/* MADV_FREE clears pte dirty bit and then marks the page