On Mon, Sep 26, 2011 at 05:21:12PM +0530, kautuk.c @samsung.com wrote: > Hi, > > I was going through the do_try_to_free_pages(), balance_pgdat(), > __zone_reclaim() > functions and I see that shrink_zone and shrink_slab are called for each zone. > > But, shrink_slab() doesn't seem to bother about the zone from where it > is freeing > memory. Work is in progress to do this. http://lwn.net/Articles/456071/ Dirty slab objects are currently not tracked in a manner that makes per-zone reclaim efficient to do, os that needs to be corrected first. Once we have generic per-zone LRU infrastructure, then we can easily push zone reclaim hints down into the shrinkers for them to scan the appropriate LRU.... Cheers, Dave. -- Dave Chinner david@xxxxxxxxxxxxx -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>