Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp2260868ybk; Sun, 17 May 2020 15:35:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzjH87AEyPFPeYqyKKiyV/LKOeTt86L8l5TUB+pfzhGCM8zGPR8LEyg+sSD+51Psn6tKfBe X-Received: by 2002:a17:906:6951:: with SMTP id c17mr12309365ejs.112.1589754935947; Sun, 17 May 2020 15:35:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589754935; cv=none; d=google.com; s=arc-20160816; b=E0GjzYzBg0wGZa1jrfqPS9zmksNGogMOlyDBSWDp+0v8TUjqycJG4oHYkTHiJet6LH tx//3bwEp+RAMRmaisRSgsj6oyxzqHc5zGgEvTW5rFWvegRHVzs5uKuO8rkiX07Uxz3E 0ucuITCr1c1R8Lsrx+CnImq5caOFxcdQd+/UH9bDz0Xwzp94L7L1sEB/TV9ckD1VE1fT 4LhdJv7vbxArRDJaxcY51KVIQVBIHC+597Dj0LQRjZg0r4bebFGVb3SlgDv+6g0GGRWG 2gHDl2sWYxqIuQaI/wQtFfJfYilUKIUVkiYin5lh0g8Vu+8J+RAdieY99R8al0xli196 8pTg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:in-reply-to:cc:references:message-id :date:subject:mime-version:from:content-transfer-encoding :dkim-signature; bh=LP9STx9KAcYlT8EP1YvHTa404NbzvXbgRc01RV/FwMQ=; b=ROYkqk9MFG709gB5/MXZXYcx1ybg/gsJgWIwo5f5+AW+8B5tdK9oE/mvJxTWal7veM UJgC2Dd+y9bv1stYdVdkx4WZIXR6H2azt5+fPC2mHhHSPZmrfaBb77EsGIGGmfyhMCYN iFRuEH/ur+JfZOsFCHP/u0VUOmygO1r+4G/Uaj7Am5ilxBDmZSihhZy4Rg8ab3ndKhiR Kv5IQ+bqutQF5USf3U24z/3xge9psON0xDkYMYkeklEKrimFpYMbU4ikeFXcAZCerf7G zS9yrJ7qgDZK9rv9V7uXNQHL/d0Oy3WEfffN3XThjqUH7a0N3Lr78q5bBt9p52j+nzbh lAKQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lca.pw header.s=google header.b=dbef1oYS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dr16si920680ejc.320.2020.05.17.15.35.13; Sun, 17 May 2020 15:35:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@lca.pw header.s=google header.b=dbef1oYS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726779AbgEQWcU (ORCPT + 99 others); Sun, 17 May 2020 18:32:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49892 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726695AbgEQWcU (ORCPT ); Sun, 17 May 2020 18:32:20 -0400 Received: from mail-qt1-x831.google.com (mail-qt1-x831.google.com [IPv6:2607:f8b0:4864:20::831]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 38FD9C05BD09 for ; Sun, 17 May 2020 15:32:20 -0700 (PDT) Received: by mail-qt1-x831.google.com with SMTP id o19so6626593qtr.10 for ; Sun, 17 May 2020 15:32:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lca.pw; s=google; h=content-transfer-encoding:from:mime-version:subject:date:message-id :references:cc:in-reply-to:to; bh=LP9STx9KAcYlT8EP1YvHTa404NbzvXbgRc01RV/FwMQ=; b=dbef1oYSgsywx0nRRPaRjclSurSGt2ltZblZbzEF8WGCLA/WGus+ApCpA19E/BJsH7 EJJRRcIsHLYTccHRnvRp4Fcn2ifdXAz1IJ6q5lyk0Cobo297LAde+SD/GLiXUCYgSXja xSIc+GF6larmGSM/On/7SFyzFQwUiny2WbixNGv90DZPBwrDNeXASP8JgmWVWyBaTzjp 8Vi9q2N6XF33JpO8V0/m2M81dyGgRzEX4bPQDkR2JfYxj++vN4Dz3SjGf3O3UBZ+re2v f0z0nbGpUqbGaTmtG9fts1psmWlpBe3Yee1ZG71phAmkenDmW7POCgq93paPVcenQpb2 MSLg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:content-transfer-encoding:from:mime-version :subject:date:message-id:references:cc:in-reply-to:to; bh=LP9STx9KAcYlT8EP1YvHTa404NbzvXbgRc01RV/FwMQ=; b=g9w9QZstT2ruWoISZ0D+X7cEJkc8e2ENrFb4/vgayo8njWibZT/6x/1+Az0ukjqmdG Y19oz4f0UjGkDYLn0GdfG77KABNnvD+53l7ym5xJew4nD3rvl/jqOxgUL9wT/qzBIpHu 3w3LiJmlKmiZ6y+VMrzUFwQ7zK9JnJTI6eLl6DQ3HcQOMBG2w7S3KMPKpxa7Dz7iS5qB qhtPusc0igqAZl2eZ49RhuM43qGLdruUHsSVDh8gI/pGaqdBhljiya7YCdMcSnN+N9YG w5N/fzqG9So3QVZDvWvVcCbbtHiwFpK3/pix3LogV0Te5H3NcznIFlUSoYs/BJW0VKAg KlOg== X-Gm-Message-State: AOAM532mKeNLmvSghfZHoxbYz0dRv06D4JAYaXFfLqQUKbEL+kut/z0k XIhilVrGMssRGfnrp5AzWfnXxMrYkYMcFQ== X-Received: by 2002:ac8:4d96:: with SMTP id a22mr8799313qtw.10.1589754739300; Sun, 17 May 2020 15:32:19 -0700 (PDT) Received: from [192.168.1.183] (pool-71-184-117-43.bstnma.fios.verizon.net. [71.184.117.43]) by smtp.gmail.com with ESMTPSA id y21sm6945437qkb.95.2020.05.17.15.32.18 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 17 May 2020 15:32:18 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable From: Qian Cai Mime-Version: 1.0 (1.0) Subject: Re: Kmemleak infrastructure improvement for task_struct leaks and call_rcu() Date: Sun, 17 May 2020 18:32:17 -0400 Message-Id: References: <20200513095939.GA2719@gaia> Cc: Linux-MM , LKML , "Paul E. McKenney" In-Reply-To: <20200513095939.GA2719@gaia> To: Catalin Marinas X-Mailer: iPhone Mail (17E262) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > On May 13, 2020, at 5:59 AM, Catalin Marinas wro= te: >=20 > I guess we don't need the full stack trace. About 4 function calls to > the refcount modification should be sufficient to get an idea. That should work. I will probably only have cycles to code this after v5.7 i= s released (have to fight with regression bugs in linux-next first), so feel= free to beat me to it.=