Received: by 2002:a05:7412:b101:b0:e2:908c:2ebd with SMTP id az1csp3457742rdb; Thu, 16 Nov 2023 09:56:29 -0800 (PST) X-Google-Smtp-Source: AGHT+IEWke4hyQvx5yiXPByzh0FEteSZccGtq0a8sDpA+awFLkoZLpg3W+PUZXUXz7DBaWHTVlkI X-Received: by 2002:a17:90b:1d0a:b0:27e:277:3014 with SMTP id on10-20020a17090b1d0a00b0027e02773014mr13769890pjb.11.1700157389117; Thu, 16 Nov 2023 09:56:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700157389; cv=none; d=google.com; s=arc-20160816; b=elRgKUwtNi6ScxQhCwNofOzGUyVcmByutRIrrk9hUmgQEFngC1v7IP2Yk6EF7CZUvN p5YHAtV/+kQWpU0ucPxCTBjm1Do/De45Ce3bWkq3A68manh/ZmlRyl1dJV4S+ATRl4bK 2x0+qZGrT+HD9c/qafAW7mu0k5FBOaKAzX/BZpsRgAJl5L3IbehaXXW+BBtjZKdR+3Th Yrl93ioISzVdylhalGKbTICTmNakg7OHPxSWANgf2vRnXR9sLIYXVw/SCbyE2Ztjp/Tl sSDlK2F1jnQzejxhyoW+M7PGUr11sBukyuGzBNVO1d7OF4dcPD/3J8ShS9XjbuEClnBz JpPQ== 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-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=dOlLtlNobE/XGexvocstbFV/qX68zF8wAtj9+JrtSn8=; fh=vDSxrNjTksVN/+wbywAPq7+X+PZWSZiPWQpFxhl4mnw=; b=YlymBtF2szruHYCz3TxR+0wXvNnmkpBQTv4Qqi8gFbmYcow7pJz55TBsc7GV/JoX7/ mJew5kGLKt6lV/wvBTJBW509DVwA8nKcfxbC2j+YuH3kiq0JOrSJOi15udT3IQEXs+S2 dg6FRn7eJaVZfH5/42TJr+zFRf9zjb5/770ATHPNqR6HXq7jLiQLDpQqIqGSIobLI3Jy 54bq1gI1E9NpRFj9L/Y5hgoxQ9LeUdjPr8bsvW/XW4NIhDrdUJ5LbE64BMz4Ba2aE6kc 6GMfG4KJpW/Yh4A92UdoEdw/KWHj3z9cbRixBg3IvwoXfZqCzhdnzLhlChGdu04xlFKU CrNg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id kk5-20020a17090b4a0500b00280979dbb7asi2639896pjb.103.2023.11.16.09.56.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Nov 2023 09:56:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 96405809C910; Thu, 16 Nov 2023 09:56:25 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345040AbjKPR4R (ORCPT + 99 others); Thu, 16 Nov 2023 12:56:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56068 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231281AbjKPR4Q (ORCPT ); Thu, 16 Nov 2023 12:56:16 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EF95518D for ; Thu, 16 Nov 2023 09:56:12 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A1216C433C7; Thu, 16 Nov 2023 17:56:11 +0000 (UTC) Date: Thu, 16 Nov 2023 17:56:09 +0000 From: Catalin Marinas To: jim.cromie@gmail.com Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, Dmitry Vyukov Subject: Re: [PATCH 0/3] kmemleak report format changes Message-ID: References: <20230425222446.170486-1-jim.cromie@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Thu, 16 Nov 2023 09:56:25 -0800 (PST) On Fri, Nov 10, 2023 at 05:19:38PM -0700, jim.cromie@gmail.com wrote: > On Fri, Apr 28, 2023 at 11:25 AM Catalin Marinas > wrote: > > On Tue, Apr 25, 2023 at 04:24:43PM -0600, Jim Cromie wrote: > > > If format changes are not /sys/** ABI violating, heres 3 minor ones: > > > > > > 1st strips "age " from output. This makes the output > > > idempotent; unchanging until a new leak is reported. > > > > > > 2nd adds the backtrace.checksum to the "backtrace:" line. This lets a > > > user see repeats without actually reading the whole backtrace. So now > > > the backtrace line looks like this: > > > > > > backtrace (ck 603070071): # also see below > > > > > > Q: should ck be spelled crc ? it feels more communicative. > > > > These all would make sense (and 'crc' sounds better) if they were done > > from the start. I know there are test scripts out there parsing the > > kmemleak sysfs file. I can't tell whether these changes would break > > them. > > > > Cc'ing Dmitry, I think syzbot was regularly checking kmemleak (not sure > > it still does). [...] > QED: there are no kmemleak parsers in public github repos that would > break with these changes Thanks for digging into this, I completely forgot about this series. Would you mind rebasing to the latest kernel and reposting? Thanks. -- Catalin