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 X-Spam-Level: X-Spam-Status: No, score=-9.2 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B0EFCC433F5 for ; Tue, 14 Sep 2021 22:48:02 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 5FB0F60F8F for ; Tue, 14 Sep 2021 22:48:02 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 5FB0F60F8F Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=suse.cz Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kvack.org Received: by kanga.kvack.org (Postfix) id EE35B900002; Tue, 14 Sep 2021 18:48:01 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id E92416B0072; Tue, 14 Sep 2021 18:48:01 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id D59CD900002; Tue, 14 Sep 2021 18:48:01 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0009.hostedemail.com [216.40.44.9]) by kanga.kvack.org (Postfix) with ESMTP id C44E16B006C for ; Tue, 14 Sep 2021 18:48:01 -0400 (EDT) Received: from smtpin21.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay04.hostedemail.com (Postfix) with ESMTP id 86E2639F43 for ; Tue, 14 Sep 2021 22:48:01 +0000 (UTC) X-FDA: 78587668362.21.FB457AF Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by imf04.hostedemail.com (Postfix) with ESMTP id D34FB50000AE for ; Tue, 14 Sep 2021 22:48:00 +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 7C0F322146; Tue, 14 Sep 2021 22:47:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1631659679; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=0vqgHxptFilI+52z7LDkXnCdgIqfeyzwesZHjTddRvQ=; b=vlKcsoRevVDE4QM2CQlxH5yAblVY+W2Om5b8nNLEhiROlotFE13KJy5hvpOaJAdnqALZ66 FRaIVBktsb7j2IHYVg56S2J/MNS7BXHHlXyn0z/kBDE0KDi2wuG0ISJQNEFsd/owfpiRlQ bItHfwgm7VxNv2Hsfppb14+ZP/6zo8I= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1631659679; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=0vqgHxptFilI+52z7LDkXnCdgIqfeyzwesZHjTddRvQ=; b=0oi9K/0RQ71UYGVu2ipyGx9jQ2myDnsW0oyjjUGV4oVjW8PqLUrUbDVf4GZbkyWXjnIQml H4W6LOllQTLQVzCg== 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 5A3BD13B4E; Tue, 14 Sep 2021 22:47:59 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id 9YhkFZ8mQWHsVwAAMHmgww (envelope-from ); Tue, 14 Sep 2021 22:47:59 +0000 Message-ID: <4392e867-0cce-d04a-e3d1-cba152daaa1f@suse.cz> Date: Wed, 15 Sep 2021 00:47:59 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.1.0 Subject: Re: [GIT PULL] tracing: Fixes to bootconfig memory management Content-Language: en-US To: Steven Rostedt , Linus Torvalds Cc: Mike Rapoport , Andrew Morton , LKML , Ingo Molnar , Masami Hiramatsu , Linux-MM References: <20210914105620.677b90e5@oasis.local.home> <20210914145953.189f15dc@oasis.local.home> <20210914170553.7c1e1faa@oasis.local.home> From: Vlastimil Babka In-Reply-To: <20210914170553.7c1e1faa@oasis.local.home> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Stat-Signature: s9ff3wo3wpc4ffhb8qc5sb68589yrje6 Authentication-Results: imf04.hostedemail.com; dkim=pass header.d=suse.cz header.s=susede2_rsa header.b=vlKcsoRe; dkim=pass header.d=suse.cz header.s=susede2_ed25519 header.b="0oi9K/0R"; dmarc=none; spf=pass (imf04.hostedemail.com: domain of vbabka@suse.cz designates 195.135.220.28 as permitted sender) smtp.mailfrom=vbabka@suse.cz X-Rspamd-Server: rspam03 X-Rspamd-Queue-Id: D34FB50000AE X-HE-Tag: 1631659680-390270 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 9/14/21 23:05, Steven Rostedt wrote: > On Tue, 14 Sep 2021 13:48:15 -0700 > Linus Torvalds wrote: > >> On Tue, Sep 14, 2021 at 12:38 PM Linus Torvalds >> wrote: >> > >> > So I'll do a minimal conversion that adds "memblock_free_ptr()" and >> > hope that people start using that. And then we can later try to move >> > "memblock_free()" to a name that isn't so misleading. >> >> Commit 77e02cf57b6c ("memblock: introduce saner 'memblock_free_ptr()' >> interface") should hopefully fix that panic that Vlastimil saw, and >> the kernel test robot report as well. >> >> And it should make it easy to cleanly fix that 'copy' leak too. >> > > Vlastimil, > > Can you confirm that Linus's changes addresses your issue? Well, looks like I can't. Commit 77e02cf57b6cf does boot fine for me, multiple times. But so now does the parent commit 6a4746ba06191. Looks like the magic is gone. I'm now surprised how deterministic it was during the bisect (most bad cases manifested on first boot, only few at second). > Masami, > > Care to rebase on top of Linus's change? > > Thanks! > > -- Steve >