Hi, KOSAKI. On Tue, Aug 31, 2010 at 9:56 AM, KOSAKI Motohiro <kosaki.motohiro@xxxxxxxxxxxxxx> wrote: >> diff --git a/mm/vmscan.c b/mm/vmscan.c >> index 1b145e6..0b8a3ce 100644 >> --- a/mm/vmscan.c >> +++ b/mm/vmscan.c >> @@ -1747,7 +1747,7 @@ static void shrink_zone(int priority, struct zone *zone, >> * Even if we did not try to evict anon pages at all, we want to >> * rebalance the anon lru active/inactive ratio. >> */ >> - if (inactive_anon_is_low(zone, sc) && nr_swap_pages > 0) >> + if (nr_swap_pges > 0 && inactive_anon_is_low(zone, sc)) > > Sorry, I don't find any difference. What is your intention? > My intention is that smart gcc can compile out inactive_anon_is_low call in case of non swap configurable system. -- Kind regards, Minchan Kim -- 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