Received: by 10.192.165.148 with SMTP id m20csp1615794imm; Sat, 28 Apr 2018 01:34:27 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqj/XsdzEAxJVQgN1WBWBck4YoeooywIQXS8oEhC8hzRH3/fBG3FhHk1JZ9T/SIYLyNhqHB X-Received: by 2002:a17:902:bc48:: with SMTP id t8-v6mr5240889plz.133.1524904467517; Sat, 28 Apr 2018 01:34:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524904467; cv=none; d=google.com; s=arc-20160816; b=W4eREspezuY+2uXpXYwoscqYKRvgqVUlOTdr/8ef3a/c66tXKBhKxHmbysvI28CvUA 48ZT3NHL7pA6139YTRSEIA9ueVMiGTXMxOMbL6tXgSjfaw/5Nq7gOm5fdw7+M5Ei+Hyf iez6rzkjvmdbdJGhJs8KVEBSl0fl59Ke1o/ERsCQLVlwztQL4TkxYaNMlI0yXpqLkgeI 9q5gkUUGlw9eJpWvFmE+X1Mi7GdZnGDIqlChRxrSCMcA0RJp+26z8+xxUHo3BXkOx9QP YhRFtIgLLSWjPedG+zytS12Eksvw5nvVJtyVMnHQVpMEpRMpoqHuvhu4AF9UQR2BcKtK +sBg== 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:dkim-signature:arc-authentication-results; bh=VjVA2D0kV4bjvXJyasABsumMNoKYbemKuCu2KbKXIIo=; b=jBUcYPwOcNv/YOZfsOjuF/gxLoDbSjrEWOmaE+fU0k6/8MNfOq5qSWL+maKjwalsHL /cmybPhIpDKZiTGv9UIrLQYbTPLlt5otQ9Q9IogfpLLYyqR1kTZHLztfINPmxrayO1Cq +H2X15+lU3/SMW2QuniKzPDHoNvVB39zt60YkCJT5OnEMcAjzYmwC4V1aRhiPLbw9F5q g5TA3krwKmoZNQipN109ZTyg47fO5zASoxTk0aJdjinzSdNgFamm1kUNY69TnlSahLZT Bm/MJghVGZ2Ap+9QTKSe0wvyemT7uOl2FEd34b+gW7BRMBis1IOH6fzoAYQb13eMsjqJ uAtA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=V8+mucg/; 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 i15si3101405pfk.146.2018.04.28.01.34.13; Sat, 28 Apr 2018 01:34:27 -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; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=V8+mucg/; 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 S1759688AbeD1IdJ (ORCPT + 99 others); Sat, 28 Apr 2018 04:33:09 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:42938 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759620AbeD1IdH (ORCPT ); Sat, 28 Apr 2018 04:33:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=VjVA2D0kV4bjvXJyasABsumMNoKYbemKuCu2KbKXIIo=; b=V8+mucg/+ULdawXmAEgR3s5n8 KndILZ7W8r0y9/X62bPAWIVNDkyEAE1I99WIyfwrewpcXvbApf9glSfDw5XNNvhE4GfyKxwpwsbwi qQkT1z3oydKO2p+t3UC2uEocO+5+aBZKSkvqu2DLSMcF0K7QgPBwX+rDVF1jZtf+cfuPRnkO4EWBf AkJB9tQMrQZNg1RzYGqs1XfJd5LJmfYDQV/hDrUztY8zsW2wE+Fz6pX4uQhP6GiC5WXL2O3n2CvxE WC+VsLimLk2Wk7aDoXHy63taRM3EXw7DD5+XyUfidfSDB51LbN3zYHNVZ92yD7afFCvJhiOPlAXmO pk3OV0kYA==; Received: from hch by bombadil.infradead.org with local (Exim 4.90_1 #2 (Red Hat Linux)) id 1fCLI0-0002Ci-16; Sat, 28 Apr 2018 08:33:04 +0000 Date: Sat, 28 Apr 2018 01:33:03 -0700 From: Christoph Hellwig To: Christopher Lameter Cc: Michal Hocko , Christoph Hellwig , "Luis R. Rodriguez" , linux-mm@kvack.org, Jan Kara , matthew@wil.cx, x86@kernel.org, luto@amacapital.net, martin.petersen@oracle.com, jthumshirn@suse.de, broonie@kernel.org, linux-spi@vger.kernel.org, linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, "lsf-pc@lists.linux-foundation.org" Subject: Re: [LSF/MM TOPIC NOTES] x86 ZONE_DMA love Message-ID: <20180428083303.GB31684@infradead.org> References: <20180426215406.GB27853@wotan.suse.de> <20180427053556.GB11339@infradead.org> <20180427071843.GB17484@dhcp22.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.2 (2017-12-15) X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Apr 27, 2018 at 11:07:07AM -0500, Christopher Lameter wrote: > Well it looks like what we are using it for is to force allocation from > low physical memory if we fail to obtain proper memory through a normal > channel. The use of ZONE_DMA is only there for emergency purposes. > I think we could subsitute ZONE_DMA32 on x87 without a problem. > > Which means that ZONE_DMA has no purpose anymore. > > Can we make ZONE_DMA on x86 refer to the low 32 bit physical addresses > instead and remove ZONE_DMA32? While < 32-bit allocations are much more common there are plenty of requirements for < 24-bit or other weird masks still.