Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp2480748ybk; Sun, 17 May 2020 23:32:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx90c1GdAybjEj5uegr+ijfuUINbn4tZM2GuiCKcEiKuc3V7qs3e0rcegIzJQGX+tjvPRxE X-Received: by 2002:aa7:c6d5:: with SMTP id b21mr11863633eds.97.1589783534895; Sun, 17 May 2020 23:32:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589783534; cv=none; d=google.com; s=arc-20160816; b=xa/3XCwOb9i1e3c263UDovVZLy1FH34IO2r1ZZV6ieUCNhBNHqCoYrD5FFAfOid25w u9oKJst5YKjZzv6DnJ3lN9RQT66sm/LIAwudaW+6GFtYOZnFZequN4PqdaxSSnaV7Vgw rgnCyPXkXrGmfu1Wet6gvjpr2pZUa0ZRbDqIFpvzjIbY4HlSHWLRQ19BGdgKLhogsukE Csd+BmwdcMNo5mPSNqwLBpxqKYFMUIykxcvwPmzp2vA8n6lmvs7aHMgp2oFxb6hnWXMW dL7ZQj6MUdGVcTj+Tzusmjg/gpcn6YjjYIe0KlROqfcMYq0/Nd/mqZLyYHrJlCqR2VnX vIRQ== 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=YlRyO64pnH8FZf+sdaf75snQYwi8eIDYf2MbHf8zjzk=; b=tNfUPsTorZ2gLrsIOUKf/QFFemFezgRqpHw7juAJO2qIRKo/E7KKGPewC49QpyMIj4 oWN+TMS2kzq4lRN9yK+/rHWa03Hfvdi1NU0NALu4o7hl597Dhkox3X3gwbyYTicSiiA1 4bOcI79m87kRnCiG/s1f4PMij9GjcV3L6qxlhbqU5ZaZHpVKACkz+ngle37uafWNtRUn 45DrRMq+SMBmC6znWut82pyJM1Yr77DWMGhK0TUEUMP7xZ7QUY745uIdQfVwgV90tVcr Mr5qLwP1yOk1VWoc1rVMzZSsbAHs1wh9fWw0GUlk4LyavpIl2AOO49S28S3m0wz87qPF iGzw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=Zw4ceQI4; 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 p6si5767110eja.77.2020.05.17.23.31.51; Sun, 17 May 2020 23:32:14 -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=Zw4ceQI4; 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 S1727123AbgERGaY (ORCPT + 99 others); Mon, 18 May 2020 02:30:24 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:55227 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726895AbgERGaY (ORCPT ); Mon, 18 May 2020 02:30:24 -0400 X-UUID: 2489c0d6f6b64d0d9a8fce8d153f77fe-20200518 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=YlRyO64pnH8FZf+sdaf75snQYwi8eIDYf2MbHf8zjzk=; b=Zw4ceQI4fkwRd/lVZVeswq+EIGM7t5YruYR0e9O4yR7VY3NULyfx5oW8ELZyRWBQzmqEd3zCV5q2c2MMdVIPZyswJ6KWVNFTdqF9Q5VFjHUK5W9k5dEgy3za62GXabDRkpetoal7co6vo4/g2hHuE7X2sIFFeWipNHr+CND46+o=; X-UUID: 2489c0d6f6b64d0d9a8fce8d153f77fe-20200518 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 482467777; Mon, 18 May 2020 14:30:20 +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; Mon, 18 May 2020 14:30:19 +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, 18 May 2020 14:30:17 +0800 From: Walter Wu To: Andrey Ryabinin , Alexander Potapenko , Dmitry Vyukov , Matthias Brugger CC: , , , , wsd_upstream , , Walter Wu Subject: [PATCH v3 3/4] kasan: add tests for call_rcu stack recording Date: Mon, 18 May 2020 14:30:17 +0800 Message-ID: <20200518063017.4766-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 VGVzdCBjYWxsX3JjdSgpIGNhbGwgc3RhY2sgcmVjb3JkaW5nIHdoZXRoZXIgaXQgY29ycmVjdGx5 IGlzIHByaW50ZWQNCmluIEtBU0FOIHJlcG9ydC4NCg0KU2lnbmVkLW9mZi1ieTogV2FsdGVyIFd1 IDx3YWx0ZXItemgud3VAbWVkaWF0ZWsuY29tPg0KQ2M6IEFuZHJleSBSeWFiaW5pbiA8YXJ5YWJp bmluQHZpcnR1b3p6by5jb20+DQpDYzogRG1pdHJ5IFZ5dWtvdi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