Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp267625rwb; Thu, 11 Aug 2022 00:43:49 -0700 (PDT) X-Google-Smtp-Source: AA6agR63cNWfYzczAQY7XQUzPG9KKIB9uUtk5fSO01OYNEQq12OKEj/wakBXEs3OeKL1TJe5TuUC X-Received: by 2002:a17:907:6d8f:b0:730:b108:5062 with SMTP id sb15-20020a1709076d8f00b00730b1085062mr22775702ejc.461.1660203829457; Thu, 11 Aug 2022 00:43:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660203829; cv=none; d=google.com; s=arc-20160816; b=I7FPhOBh659bYusTsZltooijuXBVN68wtLZfrmpPc8YG0nvB9XUo3X38Xdjkpf1PAa g7+BQQ0dLkG4Hx+Yy2V+Yn/9c97Ku8vyiFjjk0Rv0zAfaYDxY1pAy4VEDkWql5Uoj3tZ XR+6ZoR7QhC9V2pVRJIvcgVo/Lmx1QKr0ZaEOFPq43Kip307cISL5pP6ROZpCJByDq2/ NLg/LXePkTtQBX8dQoA5r/3HX5M6W9EroXK2Q6t0mGff4rcc64xFwxUkcYlSqvtXcTGh dcwAoJU/pLR6OGEn/N54AfE1fjH45bDivkg0t2amCMQ54A2Qa2k/9+auIu0FKX0tVErp atBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=/bepvxuWz37zPBRjL0B6g9q46xZQPQBpaTL/ntEeyhg=; b=oR0sSEryWpzyMt25SyPtGQGJe6/rIcDCJJTh1jUUBCOGhruACxqAU6vXgLvgbPXNds TFdYkNQn3yxK6eCI8F4DhuhBBZcULK3enyn5/lmRFxSEO42ToMo0KYslBvJbnusktW6F 3SAerMTdNwfI4lQBzicYFA3FY/3sU2NlreEq+q0ZJhQ3mULKECbBny4yyyfnxH+1BSEF z49FeTQ2/EEK7cCWbDfJjIG+G/W4pzDoZUf9mstKcPAb7oJ/Yeba6yJ9aQeKo88k/6xS q/OEkjZhjNDCNcdgLeXZPkdHalL+GJrZX2assjE1U+/ykKzH8cnsn+fU2oZAlKHa1X6C ADpg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c15-20020a05640227cf00b0043b96c391c7si13980248ede.156.2022.08.11.00.43.24; Thu, 11 Aug 2022 00:43:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234210AbiHKHir (ORCPT + 99 others); Thu, 11 Aug 2022 03:38:47 -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) X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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.