Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp298409rwb; Thu, 11 Aug 2022 01:28:10 -0700 (PDT) X-Google-Smtp-Source: AA6agR7xk7B4xTEmSc9R9PByCQ+iwpt6VFCr07bjpw93dNIjRlBbt94pxqRl40cFqyGvpGxR7XY9 X-Received: by 2002:a17:907:2707:b0:730:af0b:3572 with SMTP id w7-20020a170907270700b00730af0b3572mr22808409ejk.411.1660206489907; Thu, 11 Aug 2022 01:28:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660206489; cv=none; d=google.com; s=arc-20160816; b=AlSlYrGud6v/uP1FYic7wZwtX1WeetnO4tCEWKFUx7V0Ta0UrSlWV/7c2woerqV+uS 01NCRA2oJOorlpo08T7C4W0BNrE8XY4D2fBI3LyuQpbAvWO76RocFwjxN+8x0pQ5xEOi 0lqRWWQnnYRN6hoz+YIEJsxPBsCbEyfdTZmCG7RujooP4r4Pt8LTpPO+RQRlfKWenwrc 5pAIkgbEfk9vr77YeOx7Jd8abnRKHWtWBoXWOQEgZGlFouhSnDqTkOx+sSx+wiMiYJ6/ DtjJjgGcuwMp85q6m1/kdFWbIgMUXvYfCRX771YvsK+qqfe9GufA7y3UKwwu986Q/6Yn agrQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=YZetXLpzcTKbFkMzOEX40sJUJiI9GurrJooi8cd7cfI=; b=r/Fb4ET2fTcTP2Cqwr1uEngqUmNGzkNZ8VayXPEqLkgJLibd/su4+XyCUQ1o+1071E WpeFNoDPPC0zkdYAJV0HqPZrrn7on3m6rbx+3IAEjSYdSsbFZbSc3DGkHGqqldCSfyiJ chcF3n7P6cFzWFqBxshd3BxVhcJogzsLqqsUlEgw4TyigTqLyTf+TbvWp2+kC63KIgmN J19ap0g0aauch1G83S99syxnZ+Beny6OGm9+u17Dst67D5WgS6WMxqASv6DdNNLclQ2L uH1/MjpMvtSxh6I5wpO2URJK1a/WKT+xomr5MPgzqj6isbz1yCWViVkKbtZW2hNek98q NvcA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=ZbKokfQ9; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id cm3-20020a0564020c8300b0043e1d52fd9fsi11510347edb.594.2022.08.11.01.27.22; Thu, 11 Aug 2022 01:28:09 -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; dkim=pass header.i=@suse.com header.s=susede1 header.b=ZbKokfQ9; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234084AbiHKIUs (ORCPT + 99 others); Thu, 11 Aug 2022 04:20:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55842 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233839AbiHKIUq (ORCPT ); Thu, 11 Aug 2022 04:20:46 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [IPv6:2001:67c:2178:6::1c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 98E2931939 for ; Thu, 11 Aug 2022 01:20:45 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 1CF8F34BA4; Thu, 11 Aug 2022 08:20:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1660206044; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=YZetXLpzcTKbFkMzOEX40sJUJiI9GurrJooi8cd7cfI=; b=ZbKokfQ94V88OnI61JcgxJpcxehiN9Tqlhr3kLftXjPI6l/O0rtQCZSIg2KKd2/Z3C7ylx 5PfKLsHLxNc04AjnczLXW9L4kOQ5FCLifu28fIWLOE2eImHRrTZn3I2xeBW0+ao4FKFv7d wHVA7R+O+AVIaU5iUATiJuL1hvPizgk= Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id D904413A9B; Thu, 11 Aug 2022 08:20:43 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id hHDXMNu79GJGTwAAMHmgww (envelope-from ); Thu, 11 Aug 2022 08:20:43 +0000 Date: Thu, 11 Aug 2022 10:20:43 +0200 From: Michal Hocko To: Christoph Hellwig Cc: 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: 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: <20220811072817.GB13886@lst.de> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, 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 11-08-22 09:28:17, Christoph Hellwig wrote: > On Wed, Aug 03, 2022 at 11:52:10AM +0200, Michal Hocko wrote: > > OK, so I have another machine spewing this warning. Still on an older > > kernel but I do not think the current upstream would be any different in > > that regards. This time the DMA zone is populated and consumed from > > large part and the pool size request is just too large for it: > > I can't really parse the last sentence. What does "consumed from large > part" mean here? 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? -- Michal Hocko SUSE Labs