Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp319655rwb; Thu, 11 Aug 2022 02:01:20 -0700 (PDT) X-Google-Smtp-Source: AA6agR52VwsgZ3hct2nFtSDzmvAeJQ+HzI78hkLLGWx7A4a6+EuVQzSbwRVwXHMM0GINXztkavB5 X-Received: by 2002:a17:907:1ca8:b0:730:871e:498c with SMTP id nb40-20020a1709071ca800b00730871e498cmr22587237ejc.651.1660208479990; Thu, 11 Aug 2022 02:01:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660208479; cv=none; d=google.com; s=arc-20160816; b=h/43NtkW3AKP2ubtrUKnjYVslXZOvTcosRaN5rx/qUYNp9i9k8Yp/xqTjQfuJvmuyY EpNMd4zQa7ZZP+jSGdYSw4PGxntv67l9PKLfQljhfK28kM8AT2xPMS6VAVUmC1JWen5z /uPFi2oTjs7frwOTGGL+9URMErZ93x6M+iiFXKjQAdj2Vy+YmbV0Q/tMLcPOnrmgwbRK z+kRtukMgU3YgCbHYWuqHcCXMt1fmXwMcOdSwiCK+FxqpOdeWr5J2ciDo+GVrdog6U+4 tJtL3Cwl2n4vOG4DATIsE8qS+RGYP3DYe9l28l9jOqzMY9t9xb1RuLFgfKp7Thw4MIi8 I0Fw== 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=+++mWKs+PRosioxhX1JiVw/0p9nAGmUvp4UMAb3hcL8=; b=XWtLahKwSLOM8UiAVG8fhZM6ijErPQy7WdmAEoebSNYs09AE3Jm2iUJ9MSJzY72PLG g6Hiow93JZbZJyfucdDDwHwki/kamnAliCLeFMWrPsUL5q1J+OwW2bRSNiiNbO7dtXB/ fsCet7J+ygMdi/HS0DZ1ZZCdiRL6L/XsuyW3v3kTPBqyB/+rtSv4IBey8VmgaZ1Sx6ip 2zhH89AqCtjiuT4jGnSD/bOgOp9feUrwGoVz502yYS/HvVztOgFCKlA3X518zp8LHO3Y ocNdDLpM2ZrC2uAtI//aLSucJhTKQSF03Dy5ldr1KLSnq3U1Je1S4mg+cN4nj9P+PG9p 46Zw== 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 gs31-20020a1709072d1f00b0072b5adee783si7068312ejc.523.2022.08.11.02.00.53; Thu, 11 Aug 2022 02:01:19 -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 S234000AbiHKIVj (ORCPT + 99 others); Thu, 11 Aug 2022 04:21:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56700 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234386AbiHKIVh (ORCPT ); Thu, 11 Aug 2022 04:21:37 -0400 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C8ACB4B0E4 for ; Thu, 11 Aug 2022 01:21:36 -0700 (PDT) Received: by verein.lst.de (Postfix, from userid 2407) id D889F68AA6; Thu, 11 Aug 2022 10:21:32 +0200 (CEST) Date: Thu, 11 Aug 2022 10:21:32 +0200 From: Christoph Hellwig To: Michal Hocko Cc: Christoph Hellwig , Andrew Morton , Baoquan He , 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: <20220811082132.GA17685@lst.de> References: <20220325122559.14251-1-mhocko@kernel.org> <20220325164856.GA16800@lst.de> <20220811072817.GB13886@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) 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 Thu, Aug 11, 2022 at 10:20:43AM +0200, Michal Hocko wrote: > Meminfo part says > Node 0 DMA free:160kB boost:0kB min:0kB low:0kB high:0kB reserved_highatomic:0KB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB writepending:0kB present:15996kB managed:15360kB mlocked:0kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB > > So the zone has 15MB of managed memory (by the page allocator), yet only > 160kB is free early boot during the allocation. So it is mostly consumed > by somebody. I haven't really checked by whom. > > Does that exaplain the above better? Yes. I'm really curious who eats up all the GFP_DMA memory early during boot, though.