> > There are the same logic in shrink_active/inactive_list. > > Can we make wrapper function? It probably improve code readability. > > They are not completely identical, PGSCAN_DIRECT/PGSCAN_KSWAPD > accounting is only done in shrink_inactive_list(), so we would need an > extra branch. Can we leave it like that for now? Ah. ok, I see. -- 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>