From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mx0a-00069f02.pphosted.com ([205.220.165.32]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mxBHc-00F2k9-4y for kexec@lists.infradead.org; Tue, 14 Dec 2021 17:08:09 +0000 Message-ID: Date: Tue, 14 Dec 2021 11:07:34 -0600 Subject: Re: [PATCH v3 5/5] mm/slub: do not create dma-kmalloc if no managed pages in DMA zone Content-Language: en-US References: <20211213122712.23805-1-bhe@redhat.com> <20211213122712.23805-6-bhe@redhat.com> <20211214163124.GA21762@lst.de> From: john.p.donnelly@oracle.com In-Reply-To: <20211214163124.GA21762@lst.de> MIME-Version: 1.0 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "kexec" Errors-To: kexec-bounces+dwmw2=infradead.org@lists.infradead.org To: Christoph Hellwig , Baoquan He Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, akpm@linux-foundation.org, cl@linux.com, kexec@lists.infradead.org, stable@vger.kernel.org, Pekka Enberg , David Rientjes , Joonsoo Kim , Vlastimil Babka On 12/14/21 10:31 AM, Christoph Hellwig wrote: > On Mon, Dec 13, 2021 at 08:27:12PM +0800, Baoquan He wrote: >> Dma-kmalloc will be created as long as CONFIG_ZONE_DMA is enabled. >> However, it will fail if DMA zone has no managed pages. The failure >> can be seen in kdump kernel of x86_64 as below: > > Please just switch the sr allocation to use GFP_KERNEL without GFP_DMA. > The block layer will do the proper bounce buffering underneath for the > very unlikely case that we're actually using the single HBA driver that > has ISA DMA addressing limitations. > > Same for the ch drive, btw. Hi, Is CONFIG_ZONE_DMA even needed anymore in x86_64 ? _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec