On Fri, Feb 14, 2014 at 02:41:33PM +0800, Weijie Yang wrote: > We promote sc->gfp_mask to __GFP_HIGHMEM to forcibly scan highmem if > there are too many buffer_heads pinning highmem. see: cc715d99e5 > > This patch restores sc->gfp_mask to its caller original value after > finishing the scan job, to avoid the impact on other invocations from > its upper caller, such as vmpressure_prio(), shrink_slab(). > > Signed-off-by: Weijie Yang <weijie.yang@xxxxxxxxxxx> Acked-by: Mel Gorman <mgorman@xxxxxxx> -- Mel Gorman SUSE Labs -- 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>