On Fri, 9 Jul 2010, KOSAKI Motohiro wrote: > If number of reclaimable slabs are zero, shrink_icache_memory() and > shrink_dcache_memory() return 0. but strangely shrink_slab() ignore > it and continue meaningless loop iteration. There is also a per zone/node/global counter SLAB_RECLAIM_ACCOUNT that could be used to determine if its worth looking at things at all. I saw some effort going into making the shrinkers zone aware. If so then we may be able to avoid scanning slabs. -- 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>