From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf0-f179.google.com (mail-pf0-f179.google.com [209.85.192.179]) by kanga.kvack.org (Postfix) with ESMTP id 911CB680F7F for ; Wed, 3 Feb 2016 19:05:04 -0500 (EST) Received: by mail-pf0-f179.google.com with SMTP id o185so23328681pfb.1 for ; Wed, 03 Feb 2016 16:05:04 -0800 (PST) Received: from mail-pf0-x22f.google.com (mail-pf0-x22f.google.com. [2607:f8b0:400e:c00::22f]) by mx.google.com with ESMTPS id rn15si12279387pab.231.2016.02.03.16.05.03 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 03 Feb 2016 16:05:03 -0800 (PST) Received: by mail-pf0-x22f.google.com with SMTP id w123so23453417pfb.0 for ; Wed, 03 Feb 2016 16:05:03 -0800 (PST) Date: Wed, 3 Feb 2016 16:05:02 -0800 (PST) From: David Rientjes Subject: Re: [PATCH v4 07/14] mm, page_alloc: print symbolic gfp_flags on allocation failure In-Reply-To: <1453812353-26744-8-git-send-email-vbabka@suse.cz> Message-ID: References: <1453812353-26744-1-git-send-email-vbabka@suse.cz> <1453812353-26744-8-git-send-email-vbabka@suse.cz> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org List-ID: To: Vlastimil Babka Cc: Andrew Morton , linux-kernel@vger.kernel.org, linux-mm@kvack.org, Joonsoo Kim , Minchan Kim , Sasha Levin , "Kirill A. Shutemov" , Mel Gorman , Michal Hocko On Tue, 26 Jan 2016, Vlastimil Babka wrote: > It would be useful to translate gfp_flags into string representation when > printing in case of an allocation failure, especially as the flags have been > undergoing some changes recently and the script ./scripts/gfp-translate needs > a matching source version to be accurate. > > Example output: > > stapio: page allocation failure: order:9, mode:0x2080020(GFP_ATOMIC) > > Signed-off-by: Vlastimil Babka > Cc: Joonsoo Kim > Cc: Minchan Kim > Cc: Sasha Levin > Cc: "Kirill A. Shutemov" > Cc: Mel Gorman > Acked-by: Michal Hocko Acked-by: David Rientjes -- 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