On Thu, 21 Oct 2010, Andi Kleen wrote: > On Thu, Oct 21, 2010 at 12:59:17PM -0500, Christoph Lameter wrote: > > Slab objects (and other caches) are always allocated from ZONE_NORMAL. > > Not from any other zone. Calling the shrinkers for those zones may put > > unnecessary pressure on the caches. > > How about GFP_DMA? That's still supported unfortunately > (my old patchkit to try to kill it never was finished or merged) > > So I think these checks would need to be <= ZONE_NORMAL, > not == Yes. Plus there is also the fallback situation. Allocation for ZONE_NORMAL can fall back and therefore slab objects can end up in these zones. Then we end up with still having multiple shrinker invocations for the the same data. -- 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>