Messages in this thread |  | | Date | Fri, 14 Feb 2014 11:04:19 +0000 | From | Mel Gorman <> | Subject | Re: [PATCH V2 1/2] mm/vmscan: restore sc->gfp_mask after promoting it to __GFP_HIGHMEM |
| |
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@samsung.com>
Acked-by: Mel Gorman <mgorman@suse.de>
-- Mel Gorman SUSE Labs
|  |