From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932521AbbHYOgT (ORCPT ); Tue, 25 Aug 2015 10:36:19 -0400 Received: from mx2.suse.de ([195.135.220.15]:42051 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751564AbbHYOgS (ORCPT ); Tue, 25 Aug 2015 10:36:18 -0400 Subject: Re: [PATCH 06/12] mm, page_alloc: Use masks and shifts when converting GFP flags to migrate types To: Mel Gorman , Andrew Morton References: <1440418191-10894-1-git-send-email-mgorman@techsingularity.net> <1440418191-10894-7-git-send-email-mgorman@techsingularity.net> Cc: Johannes Weiner , Rik van Riel , David Rientjes , Joonsoo Kim , Michal Hocko , Linux-MM , LKML From: Vlastimil Babka Message-ID: <55DC7D60.1060307@suse.cz> Date: Tue, 25 Aug 2015 16:36:16 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <1440418191-10894-7-git-send-email-mgorman@techsingularity.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 08/24/2015 02:09 PM, Mel Gorman wrote: > This patch redefines which GFP bits are used for specifying mobility and > the order of the migrate types. Once redefined it's possible to convert > GFP flags to a migrate type with a simple mask and shift. The only downside > is that readers of OOM kill messages and allocation failures may have been > used to the existing values but scripts/gfp-translate will help. Yeah after patches 7 and 8, this is not much of a concern :) > Signed-off-by: Mel Gorman Acked-by: Vlastimil Babka