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 F1DC1C19F2D for ; Thu, 11 Aug 2022 08:20:46 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 6CB898E0002; Thu, 11 Aug 2022 04:20:46 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 6AEA28E0001; Thu, 11 Aug 2022 04:20:46 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 56A9F8E0002; Thu, 11 Aug 2022 04:20:46 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0017.hostedemail.com [216.40.44.17]) by kanga.kvack.org (Postfix) with ESMTP id 487BC8E0001 for ; Thu, 11 Aug 2022 04:20:46 -0400 (EDT) Received: from smtpin26.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay04.hostedemail.com (Postfix) with ESMTP id 1B5451A07D6 for ; Thu, 11 Aug 2022 08:20:46 +0000 (UTC) X-FDA: 79786615692.26.13D355E Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by imf12.hostedemail.com (Postfix) with ESMTP id 957E240190 for ; Thu, 11 Aug 2022 08:20:45 +0000 (UTC) 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> ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1660206045; 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:dkim-signature; bh=YZetXLpzcTKbFkMzOEX40sJUJiI9GurrJooi8cd7cfI=; b=4nHq+ScBKo1f+nYAQv6OZYT87+FOGYxGfm9RqTIfzs/DArmqWLK8muOCP8fxnV5wULgaRn bappH6RlNgiZ4zqqKpXp99YP02dYfMjVtjvLhcFfrqUE/TZNHJyUsDL3s/dMlAvTjvTi8p bL10klZo2zenJl9RkAtX3fSDelrYTso= ARC-Authentication-Results: i=1; imf12.hostedemail.com; dkim=pass header.d=suse.com header.s=susede1 header.b=ZbKokfQ9; spf=pass (imf12.hostedemail.com: domain of mhocko@suse.com designates 195.135.220.28 as permitted sender) smtp.mailfrom=mhocko@suse.com; dmarc=pass (policy=quarantine) header.from=suse.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1660206045; a=rsa-sha256; cv=none; b=nsjY30hxLudlhJA3VJoZNIcFmGhRGYJ+0JIABzNYPgbdk1C9Q+RLMh6sApJg6VWc01eAbu CLFSEjzsRsgOHDpYoW5f5irmvBmGJNpfShgiQEp5Y8j4M32CQKs6eYmSFGwZ8mDfB/XDxU nqCs0JydNQGIsZ8HaOQ2bAPhcjW6Z38= X-Stat-Signature: brzpn6qmtr1df6s6eoifjnmokhkhsiah X-Rspamd-Queue-Id: 957E240190 Authentication-Results: imf12.hostedemail.com; dkim=pass header.d=suse.com header.s=susede1 header.b=ZbKokfQ9; spf=pass (imf12.hostedemail.com: domain of mhocko@suse.com designates 195.135.220.28 as permitted sender) smtp.mailfrom=mhocko@suse.com; dmarc=pass (policy=quarantine) header.from=suse.com X-Rspam-User: X-Rspamd-Server: rspam09 X-HE-Tag: 1660206045-387343 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 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