On Tue, Oct 16, 2012 at 09:47:03PM +0800, Ming Lei wrote: > On Tue, Oct 16, 2012 at 9:09 PM, Minchan Kim <minchan@xxxxxxxxxx> wrote: > > > > Good point. You can check it in __zone_reclaim and change gfp_mask of scan_control > > because it's never hot 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(). > > > > How about this? > > It is quite smart change, :-) > > Considered that other part(sched.h) of the patch need update, I > will merge your change into -v1 for further review with your > Signed-off-by if you have no objection. No problem. :) -- Kind Regards, Minchan Kim -- 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>