On Fri, Aug 27, 2010 at 06:30:58PM -0700, Venkatesh Pallipadi wrote: > On Fri, Aug 27, 2010 at 9:35 AM, Ying Han <yinghan@xxxxxxxxxx> wrote: > > In our system, we do have swap configured. In vmscan.c, there are > > couple of places where we skip scanning > > and shrinking anon lru while the condition if(nr_swap_pages <= 0) is > > true. It still make sense to me to add it > > to the shrink_active() condition as the initial patch. > > > > Also, we found it is quite often to hit the condition > > inactive_anon_is_low on machine with small numa node size, since the > > zone->inactive_ratio is set based on the zone->present_pages. > > > > Does "total_swap_pages" help? Yes. Thanks for advising. > > Thanks, > Venki -- 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=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>