Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp171943ybk; Tue, 12 May 2020 19:08:35 -0700 (PDT) X-Google-Smtp-Source: APiQypLd7XT5fea8zhlUUYymajEv18EpE2XNeCQHs0yKWyjfElUsrOzqhKDJcg5KSoecGdoGSO1F X-Received: by 2002:aa7:c3cb:: with SMTP id l11mr19599398edr.129.1589335715107; Tue, 12 May 2020 19:08:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589335715; cv=none; d=google.com; s=arc-20160816; b=wLhJiT+Egpzyxl6U3ifWmZfYTld3TyVf8OC2vYmDUFtSCPhXnYrAhX/C2gMdy65cG/ YBJFIQ5SqVt9TwJptgKrvyuy0mHLUXI5NLJ5FFOhaD+5e54YtHxXYEOVVUp2o11w6+aY lSadqOLIvspPaebEQHBLaakGJZNkjCXb9U4ZAeRSnVbsoC9lq5GWMlxEcjcgaL+Uw6Et lJTI/Tkb/kH3x+C0qGMTvfypWNs3umgdzRLAcwVz6+gTU6oj8sg6UUcXZE/dlPPEe719 KQsLV4FtEA1luKVKqBHmR8p5u9Vw0s4c/QmE7kbvDQjJZOF3ngRnn2p6ZCSjvGp0Q9Jb w/bA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id :dkim-signature; bh=096wrzVA6wz4JNcGHZfNakkofpMPOvUZEm4oZoXOkWA=; b=TOKsyJ+Irlo/dAyO6puy9S4GEKed29qtJLVzOHNC9lLA/ML8WHFHAVXqpemRAGlzVp HKTPkkXpD9gRzlhGHvKAHECsgE+eJEN9Go1Xr83RT8fQsGGYimHokRLKcLZbWwn3B8eA B33T1HaxcdVIIbzd8wgD/Emjc0dQ7M0VpFfFDTgyK2o1JloxxmcOBfTmOyGCX8PQjfg2 toScYonRoBqn5v5TeLm0QnJakgZb78FcejZHcDVsmNQUbKcWFqOZrjMKV4V7m8aUV5vB 6D06VFQkxxgmuhgfGNdGNMUUj2dNtg/kPr+oZk5rN2zSMsDk+M59eb/Dtm81asKycBcT 5xsQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=JpFd5ST+; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i3si6244981ejg.428.2020.05.12.19.08.12; Tue, 12 May 2020 19:08: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=@mediatek.com header.s=dk header.b=JpFd5ST+; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728461AbgEMCFi (ORCPT + 99 others); Tue, 12 May 2020 22:05:38 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:17120 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726885AbgEMCFh (ORCPT ); Tue, 12 May 2020 22:05:37 -0400 X-UUID: e4d4ff2ba2164878b27d683e16db2781-20200513 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:MIME-Version:Content-Type:References:In-Reply-To:Date:CC:To:From:Subject:Message-ID; bh=096wrzVA6wz4JNcGHZfNakkofpMPOvUZEm4oZoXOkWA=; b=JpFd5ST+NiYzBrl87KFFlDTNDqveUCvA+vVuvt7A2G3TbgSM+QLtSE+veoZ+0LM/ARC16suHNbTXSE7Da1jtgel+7TxDwKur8TInzuxq9AHUjcV8pl863POyHGvKKrpMIFw1SJtqy6LVfH31FgTk36pnjpPZZreMnX7D/uvRAwo=; X-UUID: e4d4ff2ba2164878b27d683e16db2781-20200513 Received: from mtkcas08.mediatek.inc [(172.21.101.126)] by mailgw01.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 1593172682; Wed, 13 May 2020 10:05:32 +0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkmbs01n1.mediatek.inc (172.21.101.68) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 13 May 2020 10:05:30 +0800 Received: from [172.21.84.99] (172.21.84.99) by MTKCAS06.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Wed, 13 May 2020 10:05:30 +0800 Message-ID: <1589335531.19238.52.camel@mtksdccf07> Subject: Re: [PATCH v2 1/3] rcu/kasan: record and print call_rcu() call stack From: Walter Wu To: Dmitry Vyukov CC: "Paul E. McKenney" , Andrey Ryabinin , Alexander Potapenko , Matthias Brugger , Josh Triplett , Mathieu Desnoyers , Lai Jiangshan , Joel Fernandes , Andrew Morton , kasan-dev , Linux-MM , LKML , "Linux ARM" , wsd_upstream , Date: Wed, 13 May 2020 10:05:31 +0800 In-Reply-To: References: <20200511023111.15310-1-walter-zh.wu@mediatek.com> <20200511180527.GZ2869@paulmck-ThinkPad-P72> <1589250993.19238.22.camel@mtksdccf07> <20200512142541.GD2869@paulmck-ThinkPad-P72> <20200512161422.GG2869@paulmck-ThinkPad-P72> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.3-0ubuntu6 MIME-Version: 1.0 X-MTK: N Content-Transfer-Encoding: base64 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gVHVlLCAyMDIwLTA1LTEyIGF0I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