Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp440553imm; Mon, 21 May 2018 08:27:25 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrdQIDsPB3L2jEen/s2MDJXrf9o8sBsSmANT9H8LCf4N8+fDpMYtQfrjtajJEZcbhUsLCRw X-Received: by 2002:a17:902:1004:: with SMTP id b4-v6mr20501945pla.82.1526916445013; Mon, 21 May 2018 08:27:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526916444; cv=none; d=google.com; s=arc-20160816; b=roeRCD77ejs8li4GNvnrva/ZaCLTdSOOMAmfz1/MbUjD4P+8mLxxlOyZ5OX7WZshYR 01wknKfwOQ+1RqUnbo7sAtBEl5ulTIzWdavpdq5SLPy/QZzYofUFwZE81KzziR4Dh+sr P1aC5Ly6+tJXeA1Dwl1VE+tkIqbLWBk5Qmdt/Uq3tjsgBavdGnQFgzzSFSTv6S4NMcgi 1t59ABsmoG+BJGHJ7TmZl2/0DXux4WrfjBL1llN4cdu9IQitobXFWol01IJ04HdEJ4cF B974uv8MQlrsA4qBxxRQgs2s19GFrtwkkNf2i6hAjbVW3Sj4ycpGULtikdxIDngBVTCB 6pZg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=741ePe6e7GY0n1C+uo7NI2ElDh0Et3+bV7FysXiARHg=; b=z4mRTD3SS0dJIKXh7MhoQBjhJIICXYlwfTj+OzrXHIWp0oBs8nydmat4YHFFHn3vr/ LbaXmL0tvdFghyYT6/TCnwCMqnEjBtMyqT7RUCHil4feT7oN0h4dRVYvNhGQPu2Csm0A 3LTbhzGlWR0ecAtQa/DkBOzUQEviOwkUqaDtdayjew4fwpLZ/ekm7i+Pjaz7H2Grm/xZ +Jp9uGDIHgufzN2pihznnP7IoFy9MiQ6RLy+pcdDsnD1/jShBlvfZ61Fqr0WQPbVJEn4 ECirtueOGe1mGmnJz9k908Vu1zSBca4l9hTcHbuU4AaVLj2Tq3fPBY2BwwkmWd4C4mkx oWcw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b40-v6si14225651plb.44.2018.05.21.08.27.10; Mon, 21 May 2018 08:27:24 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753098AbeEUPZs (ORCPT + 99 others); Mon, 21 May 2018 11:25:48 -0400 Received: from verein.lst.de ([213.95.11.211]:43623 "EHLO newverein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752879AbeEUPZr (ORCPT ); Mon, 21 May 2018 11:25:47 -0400 Received: by newverein.lst.de (Postfix, from userid 2407) id 5937B68D0F; Mon, 21 May 2018 17:30:55 +0200 (CEST) Date: Mon, 21 May 2018 17:30:55 +0200 From: Christoph Hellwig To: Huaisheng Ye Cc: akpm@linux-foundation.org, linux-mm@kvack.org, mhocko@suse.com, willy@infradead.org, vbabka@suse.cz, mgorman@techsingularity.net, kstewart@linuxfoundation.org, alexander.levin@verizon.com, gregkh@linuxfoundation.org, colyli@suse.de, chengnt@lenovo.com, hehy1@lenovo.com, linux-kernel@vger.kernel.org, iommu@lists.linux-foundation.org, xen-devel@lists.xenproject.org, linux-btrfs@vger.kernel.org, Huaisheng Ye , Christoph Hellwig , Marek Szyprowski , Robin Murphy Subject: Re: [RFC PATCH v2 05/12] include/linux/dma-mapping: update usage of address zone modifiers Message-ID: <20180521153055.GA18588@lst.de> References: <1526916033-4877-1-git-send-email-yehs2007@gmail.com> <1526916033-4877-6-git-send-email-yehs2007@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1526916033-4877-6-git-send-email-yehs2007@gmail.com> User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, May 21, 2018 at 11:20:26PM +0800, Huaisheng Ye wrote: > From: Huaisheng Ye > > Use __GFP_ZONE_MASK to replace (__GFP_DMA | __GFP_HIGHMEM | __GFP_DMA32). > > ___GFP_DMA, ___GFP_HIGHMEM and ___GFP_DMA32 have been deleted from GFP > bitmasks, the bottom three bits of GFP mask is reserved for storing > encoded zone number. > __GFP_DMA, __GFP_HIGHMEM and __GFP_DMA32 should not be operated with >each others by OR. You have to include me for the whole series, otherwise I have absolutely no way to properly review your patch.