On Wed, 8 Sep 2010, KOSAKI Motohiro wrote: > nit: when slub, get_page_from_freelist() failure is frequently happen > than slab because slub try to allocate high order page at first. > So, I guess we have to avoid drain_all_pages() if __GFP_NORETRY is passed. SLAB also tries to allocate higher order pages for many slabs but not as high as SLUB (SLAB does not support fallback to order 0). SLAB also always uses GFP_THISNODE (which include GFP_NORETRY). Your patch will make SLAB's initial call to the page allocator fail more frequently and therefore will increase the use of fallback_alloc(). -- 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>