diff --git a/mm/vmscan.c b/mm/vmscan.c index f981790b8a38..64b9303bfd7f 100644 --- a/mm/vmscan.c +++ b/mm/vmscan.c @@ -1634,9 +1634,10 @@ static int too_many_isolated(struct pglist_data *pgdat, int file, * won't get blocked by normal direct-reclaimers, forming a circular * deadlock. */ +#ifndef CONFIG_AMLOGIC_MODIFY if ((sc->gfp_mask & (__GFP_IO | __GFP_FS)) == (__GFP_IO | __GFP_FS)) inactive >>= 3; - +#endif #ifdef CONFIG_AMLOGIC_CMA WARN_ONCE(isolated > inactive, "isolated:%ld, cma:%ld, inactive:%ld, mask:%x, file:%d\n",