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 D976BC19F2D for ; Thu, 11 Aug 2022 07:38:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234062AbiHKHis (ORCPT ); Thu, 11 Aug 2022 03:38:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43680 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231336AbiHKHip (ORCPT ); Thu, 11 Aug 2022 03:38:45 -0400 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B012091D1A for ; Thu, 11 Aug 2022 00:38:44 -0700 (PDT) Received: by verein.lst.de (Postfix, from userid 2407) id 32A3768AA6; Thu, 11 Aug 2022 09:38:41 +0200 (CEST) Date: Thu, 11 Aug 2022 09:38:40 +0200 From: Christoph Hellwig To: Michal Hocko Cc: Baoquan He , Christoph Hellwig , Andrew Morton , John Donnelly , David Hildenbrand , linux-mm@kvack.org, LKML Subject: Re: [PATCH] dma/pool: do not complain if DMA pool is not allocated Message-ID: <20220811073840.GE13886@lst.de> References: 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 Tue, Aug 09, 2022 at 05:37:59PM +0200, Michal Hocko wrote: > Here we go again. And just as last time I think this is the wrong thing to do. IFF we actually need the pool and we can't allocate it we want this warning. But order-10 seems very larger for the 31-bit ISA DMA zone, so we might want to look into calculating the pool size based on the zone size instead.