Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp8079pxu; Thu, 3 Dec 2020 17:35:17 -0800 (PST) X-Google-Smtp-Source: ABdhPJzBgk/uNUW3WmJJRc/d0yzaeSl+9pYHr3++t85lH3QgHoECbfW0edH7Jv1/sWooJFu/06oN X-Received: by 2002:a17:906:c289:: with SMTP id r9mr4870238ejz.311.1607045716922; Thu, 03 Dec 2020 17:35:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607045716; cv=none; d=google.com; s=arc-20160816; b=IRwGjomXoN42qx2b3FgAIEy3wsdhz81eP5u6Lw3L9eR8ILd4j2z1a5eOwObK5I8x2p Jn+SdUjIIaRGjZdjtQ9IQn3tEqaqHywTR5t0NPTm0QVHoeHMhcAWCJcrbS/X/z1Clrq+ KE9Errhv/7/svhXxYzSsC8V6nHkKzngWJ3XgrAY//yssRgeZbl4BqrvUkSLH59m7+Rq5 HuWXtwEdhUtzsuluJT3Hs2Bi9d2viLQpknmDmgJExR/Xv31/uRs/gERS/F6g5FVpPqKc bkIjc7iapg4fiH9dNfOqpbN2wrnejzKs1lOIe9qkjdyWJzHdmD0lViTSt8bf6mEmqI86 0hRg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id :dkim-signature; bh=KWikmV/wDlXuDUVsDyFD6GjELptOAMlHj8HVv2I+cPU=; b=DD4LW/ebV4VKHnqrYXtI28PDBtD4kUQuFC95Mu1tHfpGBvW3mIBRWeibidV0LGn9p/ iz3E9uMQktpmlfOIn01SZCP84Un1/8LkxUmvh0vhn5hGKtHOuSqGxtpSa/Nfd98zRIan 7/LkuUgAEF1r1tvXc9UeavpqsE/kJTH4WOwigZyoupmE9MhcM48dRGSYwxNNKWPR1M4F OOCjF+k3BBQN10BuIQO4q6sL6KiTf1PrUGzRTUIAQWAeQCVuQrkQEz09nQsO1bXTcbDX njAvI2ViBcBSQU/nnPdgPi2KoOlf0vDugSPeRihGdKFGNfiq7ZjJiQEQkJuCMMKRcI2k Bejg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=ZRa98cbv; 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 dp16si484051ejc.625.2020.12.03.17.34.53; Thu, 03 Dec 2020 17:35:16 -0800 (PST) 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=ZRa98cbv; 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 S1726042AbgLDBdV (ORCPT + 99 others); Thu, 3 Dec 2020 20:33:21 -0500 Received: from mailgw02.mediatek.com ([210.61.82.184]:36104 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1725960AbgLDBdU (ORCPT ); Thu, 3 Dec 2020 20:33:20 -0500 X-UUID: d80cba357d9f4d2fb81a75de8ef28301-20201204 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:MIME-Version:Content-Type:References:In-Reply-To:Date:CC:To:From:Subject:Message-ID; bh=KWikmV/wDlXuDUVsDyFD6GjELptOAMlHj8HVv2I+cPU=; b=ZRa98cbvF1HYbZ2/bYY5lqWwPLrMu3JbnmYTRJM5q8//V79QvySGpdptghl8/lokH2P7YgYm+ceoP6+iGxlyKi4YTG59v8SBcfHGCATJ2ngSAkJj2Z+0hXxhgklPVV0BKQfn+I7Lv3J50YgR+YU76Yv5j8fdEd1JHvDlyOW6W3g=; X-UUID: d80cba357d9f4d2fb81a75de8ef28301-20201204 Received: from mtkexhb01.mediatek.inc [(172.21.101.102)] by mailgw02.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.14 Build 0819 with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 633230048; Fri, 04 Dec 2020 09:32:37 +0800 Received: from mtkcas11.mediatek.inc (172.21.101.40) by mtkmbs01n1.mediatek.inc (172.21.101.68) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 4 Dec 2020 09:32:34 +0800 Received: from [172.21.84.99] (172.21.84.99) by mtkcas11.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Fri, 4 Dec 2020 09:32:36 +0800 Message-ID: <1607045555.4722.7.camel@mtksdccf07> Subject: Re: [PATCH v5 3/4] lib/test_kasan.c: add workqueue test case From: Walter Wu To: Marco Elver CC: Andrew Morton , Andrey Ryabinin , Alexander Potapenko , "Dmitry Vyukov" , Andrey Konovalov , Matthias Brugger , kasan-dev , Linux Memory Management List , LKML , Linux ARM , wsd_upstream , Date: Fri, 4 Dec 2020 09:32:35 +0800 In-Reply-To: References: <20201203022748.30681-1-walter-zh.wu@mediatek.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.3-0ubuntu6 MIME-Version: 1.0 X-MTK: N Content-Transfer-Encoding: base64 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gVGh1LCAyMDIwLTEyLTAzIGF0IDExOjI5ICswMTAwLCBNYXJjbyBFbHZlciB3cm90ZToNCj4g T24gVGh1LCAzIERlYyAyMDIwIGF0IDAzOjI3LCBXYWx0ZXIgV3UgPHdhbHRlci16aC53dUBtZW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