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

Commit b1d92757 authored by Ashwini Muduganti's avatar Ashwini Muduganti
Browse files

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



This reverts commit d9eccb17.

Change-Id: Ia3c9db1ab4024861d291e05749c3ef88e8eb6fe5
Signed-off-by: default avatarAshwini Muduganti <amudug@codeaurora.org>
parent 85c05634
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 *);