Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp1902246ybk; Thu, 21 May 2020 19:04:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw+p4Tv+ra6b/wLS5bC4nhimW7rRGqt+3K6IkInXUZ7uvIRU8pp5MmgqHHYLKlo36r3gWY1 X-Received: by 2002:a17:906:509:: with SMTP id j9mr5953903eja.152.1590113074140; Thu, 21 May 2020 19:04:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590113074; cv=none; d=google.com; s=arc-20160816; b=iuzwrh5igJmbvxSKRTRJiQiCz7AjdNpfLatw69zdDJk9TEsVUNTKNFwAUb9m5XHr9N tM27ADtfJMGtIwczp90d20v1TEor6+vQmjvzyy0A1BhRCeogMl8U//Hp+2xcZnuXXA2N QykyHVlGfvKHFadoy9eOoJBmge/JRUouJ9KJDGKDCdElqjNg7Cedf5euP9t+BKZ6q+Z4 JFvN0EHu1UQrRYl/0dI+JAKAM5isxo6aCQzlH6OV9k4ONtjFxfqXzsl7g+Tu+2W0yVBa mHngubWTats9qGmXN/ECb/7waaKLo5BHEFH57DPLkcTa/lhJcEKKg1cw/SZE3P9U5MSG K65A== 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=DbdlJu8vuZUyyQAeAhd6YD50kjTkWp9bEKvDh4VAu5A=; b=ZFXr+b5Bckverge6GLTJg6aSv5mh3zIaIP2/a54zbJxzGhXuLp8OACV0ieeA+aj9Ar ljQtBHoxiFvQXIChaQWZ/HjtyHuz79YMpt3+MLKZNKS6gX1qM6Nhe/Zwb5qklJdITXhy MSc/tS2kUGU7C1/FVDNs2YGWMkoWdsZWtF3hAiRNnrvnaAvnJk46h73cvBZSOPdypM+A 5TmxFe2B89jqSnyzSKBwTpNPxFLSAU+0DVhp392bJHo0o8lsnpK1o7So8jfIte9ldpD8 Z3UP7DI3RTPW9lDK5qOto2iTOEjqbpawWCLznWJNy2KsTIfEjFGwzt76t3KpHa0lme+2 SryA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=H2iF5wuN; 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 t14si4305975ejj.344.2020.05.21.19.04.12; Thu, 21 May 2020 19:04:34 -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=H2iF5wuN; 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 S1728041AbgEVCB6 (ORCPT + 99 others); Thu, 21 May 2020 22:01:58 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:3437 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726335AbgEVCB5 (ORCPT ); Thu, 21 May 2020 22:01:57 -0400 X-UUID: 12f6c77d0e474357b2a3248c96270604-20200522 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=DbdlJu8vuZUyyQAeAhd6YD50kjTkWp9bEKvDh4VAu5A=; b=H2iF5wuNTraJnSdG7Ffis1XK7pyl3iR2z+l9XEAeYzo/8VWbcCPQ68hrW4TGFXoIKLDO22wJOB9a7zmIp0IAS2313vnVCuMbemcW/gwTHv2biWrbg+7MR9KtEuaxOBFxuI8c+jx6DAaiJtfQtb5VuGGVbkNwrl+q6+rPo3mMAUA=; X-UUID: 12f6c77d0e474357b2a3248c96270604-20200522 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 1189950889; Fri, 22 May 2020 10:01:54 +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; Fri, 22 May 2020 10:01:52 +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; Fri, 22 May 2020 10:01:51 +0800 From: Walter Wu To: Andrey Ryabinin , Alexander Potapenko , Dmitry Vyukov , Matthias Brugger CC: , , , , wsd_upstream , , Walter Wu Subject: [PATCH v6 3/4] kasan: add tests for call_rcu stack recording Date: Fri, 22 May 2020 10:01:51 +0800 Message-ID: <20200522020151.23405-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: 1DF83D308094557B8096DD8171A9C524EA3231510A950D2F5EB96F4701E47C662000: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 VGVzdCBjYWxsX3JjdSgpIGNhbGwgc3RhY2sgcmVjb3JkaW5nIGFuZCB2ZXJpZnkgd2hldGhlciBp dCBjb3JyZWN0bHkNCmlzIHByaW50ZWQgaW4gS0FTQU4gcmVwb3J0Lg0KDQpTaWduZWQtb2ZmLWJ5 OiBXYWx0ZXIgV3UgPHdhbHRlci16aC53dUBtZWRpYXRlay5jb20+DQpDYzogQW5kc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