Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp205596ybg; Sun, 31 May 2020 22:12:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwvB6mlsTUy3UNkmTmMbQhtfDaYDntV3m6z/BZLAZhxdmi8vy04x+8uNmW3WaZ8ysj50Xva X-Received: by 2002:a05:6402:c09:: with SMTP id co9mr7622567edb.238.1590988352469; Sun, 31 May 2020 22:12:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590988352; cv=none; d=google.com; s=arc-20160816; b=RE0BIUyf4VLj/eCpehjYhnit7apuWm4D5y1jA9YWkk1X+uuqIbIbaT7oBZSzYuwLpu e/9rxkRIX2NxPkLV9gx0VjU2jLBGLNRUASbTZn8auZAr2xn8NE7zbKVNGTWfW7qblN8H McFW4WT+Mt8lmQT7IyhOLdf9cpjo88FDX1nGu0zXirwY1r+ovBT16AaiQFpw5MSW6hHw muouQg3ugitFP/PgWNb7EtDomyGnDzpURchlNtR5l2iow+HWNfrdYvWhKF9CL0lDzOmx 7lbyaOOAMcoTD17qkCMFUm81yGW+TPvv7Bw4KUry0x18cwzii9qP+1/tWgSaPDE9HDHS Tk2A== 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=RNWE5TJREuUvwLyEEAgmJnR4EeREVK9B/oaXuDbjwU8=; b=e0aX31g+7S9yjq+1/3sMH0ilCw33fAilwQDQhJ0jukGpmeCTYV8M3AAQcq4uJSwIXa 0sX1uqtAjVTTxjTNOu3xJ7hj+C5mL6CB6FBOzTjFnBv5LdWiYswxrlbJuE9NeTa3RAuK 6pu3ZpXH0lYiF7KAYBoq2TDZVu2Vk61852M6vTxGmX6xO5mO1r5MZ0PQnnpgWIqJnJC0 ArASw4nquMx13Jg7tlaV1uLudb5Vgo/9x5MNsbnrDc4l2rppiaKdJhjmDVIQHq+TaniL DBPyI2ixI3UEJiPnEvsXmgJ0K6xOsNSG+7LxgqJMF8pd1rKwmokIEx9tponoL9I/9+j9 qAxg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=gR4QbHRO; 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 17si5731641edw.300.2020.05.31.22.12.09; Sun, 31 May 2020 22:12:32 -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=gR4QbHRO; 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 S1725973AbgFAFJe (ORCPT + 99 others); Mon, 1 Jun 2020 01:09:34 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:11863 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1725283AbgFAFJe (ORCPT ); Mon, 1 Jun 2020 01:09:34 -0400 X-UUID: 8c8c9cb645e24acca8582a4119067357-20200601 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=RNWE5TJREuUvwLyEEAgmJnR4EeREVK9B/oaXuDbjwU8=; b=gR4QbHRObnFQjdo1Lorny9KHuHd8VqtdFpCBtyyO+iPa9CqaZ275eX/TRecfPZiGmON6Ac3hT5Bfa/Ld34I+IbhqKdPNQ52YhGI0hNtxLTnz+wkomHlNoOhF6yX70hpTRWUoGhAxxoAPMB38eZh4JQbrqYo4MbF1V/zPwgFZihU=; X-UUID: 8c8c9cb645e24acca8582a4119067357-20200601 Received: from mtkcas08.mediatek.inc [(172.21.101.126)] by mailgw02.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 1545189884; Mon, 01 Jun 2020 13:09:30 +0800 Received: from mtkcas08.mediatek.inc (172.21.101.126) by mtkmbs01n1.mediatek.inc (172.21.101.68) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 1 Jun 2020 13:09:23 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkcas08.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Mon, 1 Jun 2020 13:09:22 +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 , Andrey Konovalov CC: , , , , wsd_upstream , , Walter Wu Subject: [PATCH v7 1/4] rcu: kasan: record and print call_rcu() call stack Date: Mon, 1 Jun 2020 13:09:27 +0800 Message-ID: <20200601050927.1153-1-walter-zh.wu@mediatek.com> X-Mailer: git-send-email 2.18.0 MIME-Version: 1.0 Content-Type: text/plain 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 VGhpcyBmZWF0dXJlIHdpbGwgcmVjb3JkIHRoZSBsYXN0IHR3byBjYWxsX3JjdSgpIGNhbGwgc3Rh Y2tzIGFuZA0KcHJpbnRzIHVwIHRvIDIgY2FsbF9yY3UoKSBjYWxsIHN0YWNrcyBpbiBLQVNBTiBy ZXBvcnQuDQoNCldoZW4gY2FsbF9yY3UoKSB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