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

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

Merge "gpu: ion: Fix bug in ion shrinker"

parents 7abceca0 072c8531
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -205,8 +205,7 @@ static int ion_page_pool_shrink(struct shrinker *shrinker,
	bool high;
	int nr_to_scan = sc->nr_to_scan;

	if (sc->gfp_mask & __GFP_HIGHMEM)
		high = true;
	high = sc->gfp_mask & __GFP_HIGHMEM;

	if (nr_to_scan == 0)
		return ion_page_pool_total(high);