> delete dead code. > > Signed-off-by: Shaohua Li <shaohua.li@xxxxxxxxx> > > diff --git a/mm/vmscan.c b/mm/vmscan.c > index c391c32..993ab4c 100644 > --- a/mm/vmscan.c > +++ b/mm/vmscan.c > @@ -1914,16 +1914,6 @@ static unsigned long do_try_to_free_pages(struct zonelist *zonelist, > } > > out: > - /* > - * Now that we've scanned all the zones at this priority level, note > - * that level within the zone so that the next thread which performs > - * scanning of this zone will immediately start out at this priority > - * level. This affects only the decision whether or not to bring > - * mapped pages onto the inactive list. > - */ > - if (priority < 0) > - priority = 0; > - > delayacct_freepages_end(); > put_mems_allowed(); thank you. Reviewed-by: KOSAKI Motohiro <kosaki.motohiro@xxxxxxxxxxxxxx> -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxxx For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>