Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp1478854ybj; Tue, 5 May 2020 22:23:39 -0700 (PDT) X-Google-Smtp-Source: APiQypKliu3t2YP4qoMlxbhdqnOmAnSlDMSHWkbkyBE9dIv8Vfh8Y1aOmnNohLRfNb17SBRWdXa9 X-Received: by 2002:a17:906:edb5:: with SMTP id sa21mr5965741ejb.270.1588742618854; Tue, 05 May 2020 22:23:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588742618; cv=none; d=google.com; s=arc-20160816; b=UmmHw2JCcBnahW70hUturvUWFwRRriDXTVRRPxH46hoSFaB0cs7noVkrSv0wgNRpVd 4n/6mDA0795tmIs8/2Ly0orgK8HfUax4Ev521bBqt41u/P6pLKJfGpZYT5AFZvy4Jh9w 8iGJb5e9n1kYzqOrDuQTo6AKjpJYMQrMzeMXtmBrKsHMnRN4ZsQA4gTeQyJIEt9dU4Ys 0ffT1BQAUl99m+Dr9f7BdLC1Lz4Z5GMywzqD0EHogrcRmIurRuuG2jTM+qdOfoUZEVQA fQD0sA4QoHozVzQpUK8QIfxPvCsFxUGRljknvQnzdUm+hNZNKwNpP9VJHSZ9U7OSG4hf kS8Q== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=ETHA4HWY0Hog3Z3ytmN4JoSnKcZh6hg7h8BcVESgFcc=; b=FazR6BsKxmDbWj5hb5y+AiGbwN+h0EdRKcOyW0brmrRroiCBTIMiZD8sXmHjVptbQo Qj89nBAAKOE8PcGbO2pq51yRtI1FZwGrKMFVbm9Bc9ma76xHskpBHEWqt7jZhi4+OiRI Nd42LYuwm5udWBrOZFbMEpIHiNUaaAGftvIZBx0bkPyIkEk5gO+mM6aN032GxBUq0Sbu F4XelNBDgXqj7/X6vXkrZs3E7eQpMl+XSecfXqm3Q09xbvpvjbv27CaQ76+ZJSrKz3bU VeR+b7NQHjT5VVRfwOoUPPIW/iaX9ILesOjyUl7LPIxQGaCPSQVjr7VOOoyH8UQ7jk+V 8tvQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=Z7OBg9xi; 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 k26si501378ejs.504.2020.05.05.22.23.15; Tue, 05 May 2020 22:23:38 -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=Z7OBg9xi; 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 S1726907AbgEFFVF (ORCPT + 99 others); Wed, 6 May 2020 01:21:05 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:32548 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1725771AbgEFFVF (ORCPT ); Wed, 6 May 2020 01:21:05 -0400 X-UUID: 191ea745ffdf44fda16005a881de4ce5-20200506 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID:Date:Subject:CC:To:From; bh=ETHA4HWY0Hog3Z3ytmN4JoSnKcZh6hg7h8BcVESgFcc=; b=Z7OBg9xitJL35hAeqtKSKbKumbZEqXe0Wui4mk4FS94lLngMcOdrsGiLMyalsZ+/fHAti+AosMaV5Vv6Q083XYnHDU7zxXxAQJULXG/hzTaKtbxcI94A3Ob4Rm/mTrA13SHEfJV+Om7rbO4E6VpF7pKmj56x9lLcABAMR75pARc=; X-UUID: 191ea745ffdf44fda16005a881de4ce5-20200506 Received: from mtkcas07.mediatek.inc [(172.21.101.84)] by mailgw01.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 1905688655; Wed, 06 May 2020 13:20:57 +0800 Received: from mtkcas07.mediatek.inc (172.21.101.84) by mtkmbs01n2.mediatek.inc (172.21.101.79) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 6 May 2020 13:20:54 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkcas07.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Wed, 6 May 2020 13:20:54 +0800 From: Walter Wu To: Andrey Ryabinin , Alexander Potapenko , Dmitry Vyukov , Matthias Brugger , "Paul E . McKenney" , Josh Triplett , Mathieu Desnoyers , Lai Jiangshan , Joel Fernandes , Andrew Morton CC: , , , , wsd_upstream , , Walter Wu Subject: [PATCH 1/3] rcu/kasan: record and print call_rcu() call stack Date: Wed, 6 May 2020 13:20:46 +0800 Message-ID: <20200506052046.14451-1-walter-zh.wu@mediatek.com> X-Mailer: git-send-email 2.18.0 MIME-Version: 1.0 Content-Type: text/plain X-TM-SNTS-SMTP: 207E808D1826991DB0A16DB3C4D0C374BC1D58B8654CEFD3C6BB5AFBE7FBB2F42000:8 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 V2hlbiBjYWxsX3JjdSgpIGlzIGNhbGxlZCwgd2Ugc3RvcmUgdGhlIGNhbGxfcmN1KCkgY2FsbCBz dGFjayBpbnRvDQpzbHViIGFsbG9jIG1ldGEtZGF0YSwgc28gdGhhd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