Re: [PATCH] mmtom: Prevent shrinking of active anon lru list incase of no swap space V3

From: Andrew Morton
Date: Thu May 14 2009 - 12:31:55 EST


On Thu, 14 May 2009 23:15:55 +0900
MinChan Kim <minchan.kim@xxxxxxxxx> wrote:

> Now shrink_zone can deactivate active anon pages even if we don't have a swap device.
> Many embedded products don't have a swap device. So the deactivation of anon pages is unnecessary.

Does shrink_list() need to scan the anon LRUs at all if there's no swap
online?

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/