Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751223AbaKXVei (ORCPT ); Mon, 24 Nov 2014 16:34:38 -0500 Received: from mail-ie0-f174.google.com ([209.85.223.174]:52173 "EHLO mail-ie0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750784AbaKXVeh (ORCPT ); Mon, 24 Nov 2014 16:34:37 -0500 Date: Mon, 24 Nov 2014 13:34:33 -0800 (PST) From: David Rientjes X-X-Sender: rientjes@chino.kir.corp.google.com To: Jianyu Zhan cc: akpm@linux-foundation.org, mgorman@suse.de, riel@redhat.com, sasha.levin@oracle.com, n-horiguchi@ah.jp.nec.com, andriy.shevchenko@linux.intel.com, hannes@cmpxchg.org, vdavydov@parallels.com, fabf@skynet.be, linux-mm@kvack.org, linux-kernel@vger.kernel.org, Jianyu Zhan Subject: Re: [PATCH] mm, gfp: escalatedly define GFP_HIGHUSER and GFP_HIGHUSER_MOVABLE In-Reply-To: <1416847427-2550-1-git-send-email-nasa4836@gmail.com> Message-ID: References: <1416847427-2550-1-git-send-email-nasa4836@gmail.com> User-Agent: Alpine 2.10 (DEB 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 25 Nov 2014, Jianyu Zhan wrote: > GFP_USER, GFP_HIGHUSER and GFP_HIGHUSER_MOVABLE are escalatedly > confined defined, also implied by their names: > > GFP_USER = GFP_USER > GFP_USER + __GFP_HIGHMEM = GFP_HIGHUSER > GFP_USER + __GFP_HIGHMEM + __GFP_MOVABLE = GFP_HIGHUSER_MOVABLE > > So just make GFP_HIGHUSER and GFP_HIGHUSER_MOVABLE escalatedly defined > to reflect this fact. It also makes the definition clear and texturally > warn on any furture break-up of this escalated relastionship. > > Signed-off-by: Jianyu Zhan Acked-by: David Rientjes -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/