Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp59355rwl; Thu, 6 Apr 2023 13:10:24 -0700 (PDT) X-Google-Smtp-Source: AKy350Z3wSr+A8u8POEo9Cy4sftd+LANA3R0axEqqu1i+2qk/VcPmYYGhqBD0YkT02igp70TPHsC X-Received: by 2002:a05:6a20:7b11:b0:db:a9e7:9bbb with SMTP id s17-20020a056a207b1100b000dba9e79bbbmr570014pzh.48.1680811824258; Thu, 06 Apr 2023 13:10:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680811824; cv=none; d=google.com; s=arc-20160816; b=Oa5NTp5ri+c8MY/lEWvrwhBpGsmfpQbJGJeVY68ubiRcGnSBZdYIDvFrI6YUcxj25v TWm7/b9WRpIXOv43jpNT+rMB0pepwTFAxL7o6ET7sqZG0CnqNbln6q/UuV8LQ2w4bmR1 aXOjitDDpmF4uwNIc0pqiTwwHiXTe1Te2gNlUuj7xfahvUeWyQCNrG1hNdnm9Jkac2lU 8/39nfdMT1UCBCZbwuPzF7WhY7czifQ1oLGgVsoS1K/yTzpwXIdmed+ABi0I2G/AEj2e a+nagmBS6CFzUhSab1BuTaCJqZ8ut5hL4yaQBMn3oloeM+h7PXltyuzSzn7uVrEXXQhF t1ig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=p8aOV66JPpjAHa0iNDBc0x7MW11SfW/PEWlKFLcuUnA=; b=CYJ5kVX8zDHMQw8plVd0tbda3/d9Bbmxbmcw986gUx17QfsK+S4JmyHAucHT0dwZpt e6Li030IBblfpg/NtgOeVqQa5UERBxbFpys019GHzdpWCZ7EjUn4SYfx4GidkEQhax9K NifOfvedO+qV+2BciVw5z0UlkLrIBXhDNjtBmIy9hRTCn8T9XW9T7ZjdV7ecXp/1ek35 WqcnNT4jtQJtDyibT6+RvoGvTZ2M1bmiBi4dh2qdtvOe9qFOuvjEcIIZ2z10qE9ccmP4 WcpJwbo7tqDBjerjJr3Ws8t12TBlzD3qt6tcUZSjtgRSOmyasCBQGkqhQAKptDD0t5Kc dVgQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=qhfV3QJ+; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a28-20020a631a1c000000b0050c0c9d2925si1951644pga.36.2023.04.06.13.09.59; Thu, 06 Apr 2023 13:10:24 -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=@infradead.org header.s=bombadil.20210309 header.b=qhfV3QJ+; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238384AbjDFTxn (ORCPT + 99 others); Thu, 6 Apr 2023 15:53:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59912 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229664AbjDFTxm (ORCPT ); Thu, 6 Apr 2023 15:53:42 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D26BF5253; Thu, 6 Apr 2023 12:53:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Sender:In-Reply-To: Content-Transfer-Encoding:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description; bh=p8aOV66JPpjAHa0iNDBc0x7MW11SfW/PEWlKFLcuUnA=; b=qhfV3QJ+Bi++LgFLjw1MU3Ape+ 9SqEg8M7YW5KJpC/tPepuEpFK/8afBBrrRj+t5RDaBVxfAGTCxP393ma7qguwVITELHM9N97V39AP G8gs72J0brcUfm7x5570AGhYvGj1Rmv+7+Vyuk7kuL9FRAjdVT5f1OV5wtJ+5/CgptUUZqhggXBwV xEnEXV7X8fd9EbXVE7hsjZIDuwuKuDnjlZZrkXup1JA/PZI0HWNP0ThgJSwoqxHltAqqD9jeih53Z dhllPfgRK7oVvJ3QNyUpCjubetq1PK3CKYGnaKDotcIAAnv3GVqARrptBaX4tEkmwRF08MNlSN9vh tcu/WMOg==; Received: from mcgrof by bombadil.infradead.org with local (Exim 4.96 #2 (Red Hat Linux)) id 1pkVfu-008RKE-0Q; Thu, 06 Apr 2023 19:53:38 +0000 Date: Thu, 6 Apr 2023 12:53:38 -0700 From: Luis Chamberlain To: jim.cromie@gmail.com Cc: Song Liu , Catalin Marinas , linux-modules@vger.kernel.org, LKML , Jason Baron , Greg KH Subject: Re: kmemleaks on ac3b43283923 ("module: replace module_layout with module_memory") Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Sender: Luis Chamberlain X-Spam-Status: No, score=-2.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE autolearn=unavailable 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 Wed, Apr 05, 2023 at 09:14:12PM -0600, jim.cromie@gmail.com wrote: > On Tue, Apr 4, 2023 at 8:01 PM Luis Chamberlain wrote: > > > > On Tue, Apr 04, 2023 at 07:38:41PM -0600, jim.cromie@gmail.com wrote: > > > On Mon, Apr 3, 2023 at 2:44 PM Luis Chamberlain wrote: <-- my old patch --> > this disappearing act is still going on. > my script issues no echo clear > kmemleak So this email is ab it confusing. Because you comment here before the new patch. <-- my new switch statement kmemleak patch to fix the reported leak --> > sorry for the delay, I was seeing heisen-responses, and several BUGs. > a make clean seems to have settled things mostly. And now here you comment after thew new suggested patch and say it seemst to mostly fixed things. > But in case theres any clues in there, In where? > Ive kept the paste-in of 2 BUGs > > with > f23cd1ffca4b (HEAD) kmemleaks on ac3b43283923 ("module: replace > module_layout with module_memory") > ac3b43283923 module: replace module_layout with module_memory The only commit here that makes sense to me is ac3b43283923 ("module: replace module_layout with module_memory" Commit f23cd1ffca4b means absolutely nothing to me. I can only guess you mean that you've applied my suggested changes with the new switch statement? > heres the 1st run. cuz it leaked, I reran in another vm, which got > different results. > I left it overnight doing nothing (laptop slept, vm with it), > and it BUG'd on a soft lockup > (much later, but the leaktrace does have a timerfd in it) > R11 looks poisoned. <-- some unrelated leak I think --> > using sh-script posted previously, I don't recall what that sh-script was. <-- snip some leaks --> > Im not sure when I did the make clean, maybe here. > it'd be a 'clean' explanation of the BUG struff. > I havent seen any today OK great. <-- snip some long traces--> I don't get these long traces if you didn't see any then. Luis