Re: [PATCH] vmscan: fix missing place to check nr_swap_pages.

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Ying Han
Date: Friday, August 27, 2010 - 9:35 am

On Thu, Aug 26, 2010 at 10:00 PM, Minchan Kim <minchan.kim@gmail.com> wrote:

Agree.  In our case, we cares about the case where swap is not enabled
but is configured .

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.

--Ying

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] vmscan: fix missing place to check nr_swap_pages., Ying Han, (Fri Aug 27, 9:35 am)
Re: [PATCH] vmscan: fix missing place to check nr_swap_pages., Venkatesh Pallipadi, (Fri Aug 27, 6:30 pm)