Messages in this thread | | | Date | Fri, 14 Feb 2014 09:15:45 -0500 | From | Rik van Riel <> | Subject | Re: [PATCH V2 1/2] mm/vmscan: restore sc->gfp_mask after promoting it to __GFP_HIGHMEM |
| |
On 02/14/2014 01:41 AM, 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: Rik van Riel <riel@redhat.com>
-- All rights reversed
| |