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

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

Merge "Revert "pagemap.h: Allow readahead Movable allocations from CMA region""

parents e0224a27 a5551d2b
Loading
Loading
Loading
Loading
+2 −7
Original line number Diff line number Diff line
@@ -239,13 +239,8 @@ static inline struct page *page_cache_alloc_cold(struct address_space *x)

static inline gfp_t readahead_gfp_mask(struct address_space *x)
{
	gfp_t gfp_mask = mapping_gfp_mask(x) |
	return mapping_gfp_mask(x) |
				  __GFP_COLD | __GFP_NORETRY | __GFP_NOWARN;

	if (gfp_mask & __GFP_MOVABLE)
		gfp_mask |= __GFP_CMA;

	return gfp_mask;
}

typedef int filler_t(struct file *, struct page *);