Loading mm/vmscan.c +7 −7 Original line number Diff line number Diff line Loading @@ -2965,6 +2965,13 @@ static unsigned long balance_pgdat(pg_data_t *pgdat, int order, pgdat_needs_compaction = false; } /* * If we're getting trouble reclaiming, start doing writepage * even in laptop mode. */ if (sc.priority < DEF_PRIORITY - 2) sc.may_writepage = 1; /* * Now scan the zone in the dma->highmem direction, stopping * at the last zone which needs scanning. Loading Loading @@ -3036,13 +3043,6 @@ static unsigned long balance_pgdat(pg_data_t *pgdat, int order, raise_priority = false; } /* * If we're getting trouble reclaiming, start doing * writepage even in laptop mode. */ if (sc.priority < DEF_PRIORITY - 2) sc.may_writepage = 1; if (!zone_reclaimable(zone)) { if (end_zone && end_zone == i) end_zone--; Loading Loading
mm/vmscan.c +7 −7 Original line number Diff line number Diff line Loading @@ -2965,6 +2965,13 @@ static unsigned long balance_pgdat(pg_data_t *pgdat, int order, pgdat_needs_compaction = false; } /* * If we're getting trouble reclaiming, start doing writepage * even in laptop mode. */ if (sc.priority < DEF_PRIORITY - 2) sc.may_writepage = 1; /* * Now scan the zone in the dma->highmem direction, stopping * at the last zone which needs scanning. Loading Loading @@ -3036,13 +3043,6 @@ static unsigned long balance_pgdat(pg_data_t *pgdat, int order, raise_priority = false; } /* * If we're getting trouble reclaiming, start doing * writepage even in laptop mode. */ if (sc.priority < DEF_PRIORITY - 2) sc.may_writepage = 1; if (!zone_reclaimable(zone)) { if (end_zone && end_zone == i) end_zone--; Loading