From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.7 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B33B2C433E0 for ; Thu, 4 Feb 2021 16:39:02 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 64CD164E41 for ; Thu, 4 Feb 2021 16:39:02 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 64CD164E41 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=/Muujp2EDhNHCBXSyHKzxP1NgaQf8XV/D5o44WkTxbA=; b=G719TpU4aWfdOcZWSkUajEOS5 6XDhH5IeB3nX+e0tOs9pH2CTEfBk1AX0JqvXN2kGtsRTGVfWKloEXuhmit0xxpmTzytaCfdzFnI4F ee1WZl7gF5TEdexG/RY6oepVhWPVTMMNnc0lLyhH8mPZVQeHKq+QRa3naOctvg5mzxEqBNabDiGDl ohULD2xBJzJiZ8t8N14nW1ieIkjZWjLFTXB+wdR637S9kHBmqlFTnJ6PFTNU3JFTykU8vdayo5pur utPe4S4AjXf5swJ5I+AAoJbdoVR3MkZ60oOeCNW3cxlzi2V9YwEMQhY3yjBXbE6rVq4yv1RbUsGjd 42lJ8RGaQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l7hdR-0003gB-AI; Thu, 04 Feb 2021 16:37:37 +0000 Received: from mail-pf1-x42f.google.com ([2607:f8b0:4864:20::42f]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1l7hdO-0003fP-Li; Thu, 04 Feb 2021 16:37:35 +0000 Received: by mail-pf1-x42f.google.com with SMTP id j12so2420530pfj.12; Thu, 04 Feb 2021 08:37:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=nwObsRzKSVhqA/EbWV8d9m9v2JwQDreOVTF8iuaBQ+g=; b=Qs76dodtfk29vh9y2oWEdTMAEgX8pR7GDXBRZt11OnuF+F3yrCFpGCfE3EUSAGkLGg 5jkQJMKtoXCFCFsOw41yy0P24mbEQnUU/PN1vC734l1/K39+46+VS6bbscHzj2L55Whw FW22EBkyNiVCxmkNsXDYGEsP+zGH6f3LFIpXAoDhgixEHEseFXS8agAF7cSt15vBfmIu sa7oQOcvJtNzr/K6/r+vpvpUh+C2Mr6l1bM36mquA5Xn9VwjHxOLJnJ4Q3BcPgr4LZ4Y ey0TsDb+L/fowZ7+gofPOCsnCxtE2ihWeCgNDWMxadMu+izWumzDBNC7nofrD9894P78 GvUg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=nwObsRzKSVhqA/EbWV8d9m9v2JwQDreOVTF8iuaBQ+g=; b=pYEI4vjUgnS7Ug7/pIMbH4HmIMcNoqdAXq+rIOY5ZI5+ECIuODtzk8oUgGM0tO/KrS l5wDPOfbxHaIhi3nn5S3H49/hPfgSv1C7dCpxlyP1pPnKxJj5Un4VQVRiLJJ4RFpvAJH wnGd9wJp5stp7GFaekTQR/p+6h7IvvnAVoRKPEDmP5mPICGPDozJwAYbjVcPgYa4GCO4 pfM3ZFzU42uOZif/tlqG6xVB6+1JCzRumikLFEu01TiLpiRG3LVcKKpS99YcfIPzxdXp nu1Nb1Q89+CIyfLbnOpMDr4esIJAj4FCIxh669mYtnrBF5AJ83gPBduU+2bJr8p2TO8W hh9A== X-Gm-Message-State: AOAM533n+MAlaJ5qJHcfXShI7tActHfmtVlRz0TaEag2aDkFxXYKUWRd iBra0X26U8xEATEv6uksvgc= X-Google-Smtp-Source: ABdhPJwYeZjRTrriYxBENEsGDiTCAauUg/JSwi9Ur6XUH/miSvOUu2eE8co0/Eh8tRvQGVqY8tG4fw== X-Received: by 2002:a62:e217:0:b029:1c1:59ed:ae73 with SMTP id a23-20020a62e2170000b02901c159edae73mr77195pfi.6.1612456652596; Thu, 04 Feb 2021 08:37:32 -0800 (PST) Received: from localhost.localdomain (61-230-45-44.dynamic-ip.hinet.net. [61.230.45.44]) by smtp.gmail.com with ESMTPSA id 9sm2371133pgw.61.2021.02.04.08.37.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Feb 2021 08:37:31 -0800 (PST) From: Lecopzer Chen To: will@kernel.org Subject: Re: [PATCH v2 1/4] arm64: kasan: don't populate vmalloc area for CONFIG_KASAN_VMALLOC Date: Fri, 5 Feb 2021 00:37:21 +0800 Message-Id: <20210204163721.91295-1-lecopzer@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210204150100.GE20815@willie-the-truck> References: <20210204150100.GE20815@willie-the-truck> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210204_113734_754066_83C7EA48 X-CRM114-Status: GOOD ( 29.21 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: lecopzer.chen@mediatek.com, catalin.marinas@arm.com, linux-kernel@vger.kernel.org, linux-mm@kvack.org, tyhicks@linux.microsoft.com, glider@google.com, vincenzo.frascino@arm.com, ardb@kernel.org, yj.chiang@mediatek.com, kasan-dev@googlegroups.com, dvyukov@google.com, aryabinin@virtuozzo.com, linux@roeck-us.net, andreyknvl@google.com, lecopzer@gmail.com, broonie@kernel.org, linux-mediatek@lists.infradead.org, dan.j.williams@intel.com, linux-arm-kernel@lists.infradead.org, gustavoars@kernel.org, akpm@linux-foundation.org, robin.murphy@arm.com, rppt@kernel.org Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Cj4gT24gVGh1LCBGZWIgMDQsIDIwMjEgYXQgMTA6NDY6MTJQTSArMDgwMCwgTGVjb3B6ZXIgQ2hl biB3cm90ZToKPiA+ID4gT24gU2F0LCBKYW4gMDksIDIwMjEgYXQgMDY6MzI6NDlQTSArMDgwMCwg TGVjb3B6ZXIgQ2hlbiB3cm90ZToKPiA+ID4gPiBMaW51eCBzdXBwb3J0IEtBc2FuIGZvciBWTUFM TE9DIHNpbmNlIGNvbW1pdCAzYzVjM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