From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f178.google.com (mail-wi0-f178.google.com [209.85.212.178]) by kanga.kvack.org (Postfix) with ESMTP id C834A6B0031 for ; Fri, 14 Feb 2014 09:15:57 -0500 (EST) Received: by mail-wi0-f178.google.com with SMTP id cc10so506160wib.17 for ; Fri, 14 Feb 2014 06:15:57 -0800 (PST) Received: from mx1.redhat.com (mx1.redhat.com. [209.132.183.28]) by mx.google.com with ESMTP id uu2si3979969wjc.15.2014.02.14.06.15.55 for ; Fri, 14 Feb 2014 06:15:56 -0800 (PST) Message-ID: <52FE2511.1010004@redhat.com> Date: Fri, 14 Feb 2014 09:15:45 -0500 From: Rik van Riel MIME-Version: 1.0 Subject: Re: [PATCH V2 1/2] mm/vmscan: restore sc->gfp_mask after promoting it to __GFP_HIGHMEM References: <000101cf294f$eef39610$ccdac230$%yang@samsung.com> In-Reply-To: <000101cf294f$eef39610$ccdac230$%yang@samsung.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org List-ID: To: Weijie Yang , 'Mel Gorman' Cc: 'Andrew Morton' , 'Minchan Kim' , weijie.yang.kh@gmail.com, 'Linux-MM' , 'linux-kernel' 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 Acked-by: Rik van Riel -- All rights reversed -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org