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

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

Merge "Revert "mm/filemap: Allow filemap_fault Movable allocations from CMA region""

parents ab8019f9 1a17a4a3
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -2409,11 +2409,6 @@ int filemap_fault(struct vm_fault *vmf)
		do_async_mmap_readahead(vmf->vma, ra, file, page, offset);
	} else if (!page) {
		/* No page in the page cache at all */
		struct address_space *mapping = file->f_mapping;

		if (mapping && (mapping->gfp_mask & __GFP_MOVABLE))
			mapping->gfp_mask |= __GFP_CMA;

		do_sync_mmap_readahead(vmf->vma, ra, file, offset);
		count_vm_event(PGMAJFAULT);
		count_memcg_event_mm(vmf->vma->vm_mm, PGMAJFAULT);