From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5F9ADC28D13 for ; Mon, 22 Aug 2022 11:14:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233260AbiHVLOz (ORCPT ); Mon, 22 Aug 2022 07:14:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41748 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232528AbiHVLOx (ORCPT ); Mon, 22 Aug 2022 07:14:53 -0400 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A72E232B9E for ; Mon, 22 Aug 2022 04:14:51 -0700 (PDT) Received: by verein.lst.de (Postfix, from userid 2407) id 6BCEF68AA6; Mon, 22 Aug 2022 13:14:47 +0200 (CEST) Date: Mon, 22 Aug 2022 13:14:47 +0200 From: Christoph Hellwig To: Michal Hocko Cc: Christoph Hellwig , iommu@lists.linux.dev, Marek Szyprowski , Robin Murphy , David Rientjes , linux-kernel@vger.kernel.org Subject: Re: [PATCH 3/3] dma-pool: limit DMA and DMA32 zone size pools Message-ID: <20220822111447.GA8935@lst.de> References: <20220817060647.1032426-1-hch@lst.de> <20220817060647.1032426-4-hch@lst.de> <20220821104416.GC30530@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Aug 22, 2022 at 10:41:01AM +0200, Michal Hocko wrote: > ZONE_DMA existance is not runtime controlable (at least on x86). This is more about ZONE_DMA32 that can disappear if all memory is inside ZONE_DMA. That is highly unusual (but still possible) with a tiny x86-style ZONE_DMA, but can happen with a larger one other architectures.