Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp520098ybk; Wed, 20 May 2020 05:39:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxINTkJtx73yo2AjbILozdXRGz3cArFOkYMG1nPp7QRGeylypCoX3ZitOKPxes/QnQnkvge X-Received: by 2002:a50:fe06:: with SMTP id f6mr3306458edt.125.1589978389039; Wed, 20 May 2020 05:39:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589978389; cv=none; d=google.com; s=arc-20160816; b=zRc1+8ymR2HjsEZYOIhwR2rODsU/IrQyrk+CF9eIxv/3SHRdiUlIND1UAGBZ2fKApX Q/35qOFG5m6fe48bhqmOs80ThW0qPGRXKYGNyXXldZ33wuIimbAG5rlyAIVjN/oKQA/I AM3xur5gGD+rUigmGEaImk0oNurrgZCdYcwAauJ2tmHwCeHguVAijPtRJMrWxPAnRk75 XfeUqMKq4ufjM+ha8b8z0Bk3oHt9FPN2QTbBUXnoHF4Onkr9zr85l1cifm8B8m2vkVg4 VKkYNmy2Z5OQ59Xk8jbH/debuRfrspCrw6XzCT2JHnzuDY2510CdLs697WsHMBv2pUeM eDpQ== 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=WyYeTKWmBjLAkbPOmO4pxMVb/N5766AQOKoBBiRI3GuXlB3jGoNqY8/mSkwLXBw6Pq culjYtPVRwFjYIVvieBjSM5klbgZPpKveuM2mkaFJPeJ91VENyM3X+HWp5eXsfcya160 G7YJVtSGywdG0DtYBv/5M3KixVezSxW7a53no0vJ+VP+smIp+aNRzLCA+7/D5LmjXQuv 5Pa2sGIYnYa+I7xmNq9jBhrBjpykrR4VygnWdxFmzFUW+4A8p9+cEEIZlTx42BNIyHXb R3a56cg+Fytvz6+Gcm5+LsA05wUDnjZz0/WLqO9y5piXp/r7zkz3SMsyoHZqn4rRaaV/ 1KPQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=hwtd7E49; 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 lg10si1467748ejb.537.2020.05.20.05.39.26; Wed, 20 May 2020 05:39:49 -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=hwtd7E49; 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 S1726824AbgETMiJ (ORCPT + 99 others); Wed, 20 May 2020 08:38:09 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:16374 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726224AbgETMiJ (ORCPT ); Wed, 20 May 2020 08:38:09 -0400 X-UUID: 274d28ae69704d65b2323cbde2ff1810-20200520 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=hwtd7E49qjyaQZ1xwNX/EPiogC+TOQ0cerQ//A/k5Cwg0kyIYQFTftKM5AbfA+55Nkt4iVL79T1xiFKu9hzwO9hH+UH7iZS5B503FiB4DeDPBeZl3ZCRZzMJpwFPuWEIIv3jkGpYyB1xMzOeRKJ2+HRcq0IsJx4r8i4iQTYYo24=; X-UUID: 274d28ae69704d65b2323cbde2ff1810-20200520 Received: from mtkcas06.mediatek.inc [(172.21.101.30)] by mailgw01.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 922761856; Wed, 20 May 2020 20:38:04 +0800 Received: from mtkcas08.mediatek.inc (172.21.101.126) by mtkmbs06n1.mediatek.inc (172.21.101.129) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 20 May 2020 20:38:03 +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; Wed, 20 May 2020 20:38:02 +0800 From: Walter Wu To: Andrey Ryabinin , Alexander Potapenko , Dmitry Vyukov , Matthias Brugger CC: , , , , wsd_upstream , , Walter Wu Subject: [PATCH v5 3/4] kasan: add tests for call_rcu stack recording Date: Wed, 20 May 2020 20:37:45 +0800 Message-ID: <20200520123745.4024-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 VGVzdCBjYWxsX3JjdSgpIGNhbGwgc3RhY2sgcmVjb3JkaW5nIGFuZCB2ZXJpZnkgd2hldGhlciBp dCBjb3JyZWN0bHkNCmlzIHByaW50ZWQgaW4gS0FTQU4gcmVwb3J0Lg0KDQpTaWduZWQtb2ZmLWJ5 OiBXYWx0ZXIgV3UgPHdhbHRlci16aC53dUBtZWRpYXRlay5jb20+DQpDYzogQW5kcmV5IFJ5YWJp bmluIDxhcnlhYmluaW5AdmlydHVvenpvLmNvbT4NCkNjOiBEbWl0cnkgVnl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