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 kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 64220C19F2D for ; Thu, 11 Aug 2022 07:38:45 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id E36158E0002; Thu, 11 Aug 2022 03:38:44 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id DE6158E0001; Thu, 11 Aug 2022 03:38:44 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id CADAC8E0002; Thu, 11 Aug 2022 03:38:44 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0012.hostedemail.com [216.40.44.12]) by kanga.kvack.org (Postfix) with ESMTP id B82B18E0001 for ; Thu, 11 Aug 2022 03:38:44 -0400 (EDT) Received: from smtpin07.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay01.hostedemail.com (Postfix) with ESMTP id 821C31C6D3C for ; Thu, 11 Aug 2022 07:38:44 +0000 (UTC) X-FDA: 79786509768.07.90F8B6B Received: from verein.lst.de (verein.lst.de [213.95.11.211]) by imf03.hostedemail.com (Postfix) with ESMTP id DB03320035 for ; Thu, 11 Aug 2022 07:38:43 +0000 (UTC) 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) ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1660203524; a=rsa-sha256; cv=none; b=KPLCQWvHm35ZEahvkNnwaGzE5MbetrBIfmzZItF3Emexq6Qcaffm5TTztqf9M/feIKfuaz NvPriCkgPeRnr365w+omvbUNyKWaTWQzFlp0Ja5hzggmRL9S9KMuVNV3cuw4gp30icY3dK jRce7DYHizavsXrdpOo7Om6l9AgiptY= ARC-Authentication-Results: i=1; imf03.hostedemail.com; dkim=none; dmarc=none; spf=none (imf03.hostedemail.com: domain of hch@lst.de has no SPF policy when checking 213.95.11.211) smtp.mailfrom=hch@lst.de ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1660203524; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=/bepvxuWz37zPBRjL0B6g9q46xZQPQBpaTL/ntEeyhg=; b=5q6wifr+/y/F1FG6EJjpwxZsviYau5PGKHp752od0DUOqzrhSQFrgFvjHZPsaaa0jDzMtD Rc/0UQcehwbjzyrZdFuP/OIfbanj2Pv4McFlHz6aslHexKT+YWGOm5qnC2jvLOl/zHax6P niYfEiuX/d13O/RqjkoelVnQr5TX3V0= X-Rspamd-Server: rspam02 X-Rspamd-Queue-Id: DB03320035 Authentication-Results: imf03.hostedemail.com; dkim=none; dmarc=none; spf=none (imf03.hostedemail.com: domain of hch@lst.de has no SPF policy when checking 213.95.11.211) smtp.mailfrom=hch@lst.de X-Stat-Signature: pf71yzzszgz9ur8x9xjm4h7h87bg8ckr X-Rspam-User: X-HE-Tag: 1660203523-680771 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: 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.