On Tue, Oct 16, 2012 at 1:49 PM, Minchan Kim <minchan@xxxxxxxxxx> wrote: > > Fair enough but it wouldn't be a good idea that add new unlikely branch > in allocator's fast path. Please move the check into slow path which could > be in __alloc_pages_slowpath. Thanks for your comment. I have considered to add the branch into gfp_to_alloc_flags() before, but didn't do it because I see that get_page_from_freelist() may use the GFP_IO or GFP_FS flag at least in zone_reclaim() path. So could you make sure it is safe to move the branch into __alloc_pages_slowpath()? If so, I will add the check into gfp_to_alloc_flags(). Thanks, -- Ming Lei -- 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/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>