diff --git a/mm/vmpressure.c b/mm/vmpressure.c index 41feba964d5b..58b72c0322af 100755 --- a/mm/vmpressure.c +++ b/mm/vmpressure.c @@ -422,8 +422,11 @@ static void __vmpressure(gfp_t gfp, struct mem_cgroup *memcg, bool critical, * This function does not return any value. */ void vmpressure(gfp_t gfp, struct mem_cgroup *memcg, bool tree, - unsigned long scanned, unsigned long reclaimed) + unsigned long scanned, unsigned long reclaimed, int order) { + if (order > PAGE_ALLOC_COSTLY_ORDER) + return; + __vmpressure(gfp, memcg, false, tree, scanned, reclaimed); }