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=-5.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=no 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 6BD7FC433DB for ; Sun, 10 Jan 2021 12:04:04 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id F1DFD2376E for ; Sun, 10 Jan 2021 12:04:03 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org F1DFD2376E Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 4FA9B6B01F1; Sun, 10 Jan 2021 07:04:03 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 4A99D6B01F2; Sun, 10 Jan 2021 07:04:03 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 349B46B01F3; Sun, 10 Jan 2021 07:04:03 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0163.hostedemail.com [216.40.44.163]) by kanga.kvack.org (Postfix) with ESMTP id 1AB436B01F1 for ; Sun, 10 Jan 2021 07:04:03 -0500 (EST) Received: from smtpin06.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay03.hostedemail.com (Postfix) with ESMTP id CE89B824556B for ; Sun, 10 Jan 2021 12:04:02 +0000 (UTC) X-FDA: 77689731924.06.scarf26_3d0d3b327504 Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin06.hostedemail.com (Postfix) with ESMTP id A6EFE10039B46 for ; Sun, 10 Jan 2021 12:04:02 +0000 (UTC) X-HE-Tag: scarf26_3d0d3b327504 X-Filterd-Recvd-Size: 3593 Received: from mail-lj1-f180.google.com (mail-lj1-f180.google.com [209.85.208.180]) by imf03.hostedemail.com (Postfix) with ESMTP for ; Sun, 10 Jan 2021 12:04:02 +0000 (UTC) Received: by mail-lj1-f180.google.com with SMTP id b10so450865ljp.6 for ; Sun, 10 Jan 2021 04:04:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ut3sHTih6SxiYQ+biWzC21Eu6q3g6VnEGiS70Ql4c4Y=; b=DyOAZHJiSb32U4MirOJa4gY4mALVQB5fHLxHef478KEpqK9e61jtCZ1epVv7hWIYif qhMQLVGv8yAZqtU0u+WA+3AAhHEnAoQHexIj2uD8tuXQJ918Lg4m7XUvtVmTpmngvmto sRBGh5GWYi/YzW54ZVil8g1SNqshHdmF74Lf7Ty2RlYZcHa1QDvbBIh8w+eZ4stBoxwx WXEdn60XTIUYG2oMofjBGj8fn9R265/6HAJ25bUco8zNIgozQC5PdZIXOZyeLEaf4+Ce LKEPaV/JHIG0SW/YZn/T5hu+p9sjJbna3IVhr1b+NGm2C2txXr9v5w1NYBL78cwZShjx +nUg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ut3sHTih6SxiYQ+biWzC21Eu6q3g6VnEGiS70Ql4c4Y=; b=Lcwy7iejv+zNJ4pdlzBIQAH/5H5PmM/yzWzUj+n2BVYZoV/pjYjGZuvkzGCt/4QmFh vWSeJr90AsEMXTMNHujxp+iC7TXPb99mKk9pOJ4STSFoVMY5A2PU9SCnSPbq6dxLIxJ2 EdIBl2AfVRhZ1ZxHxxEz7Xh9JIfY7Nyx3kJ6Xjs+0Pz3JorvlAk3+Bg/nbdID4sJsexv mpKjjx2DuDyFWf6QKkeumK2xnfOb5FZbsFZsxdJ96YJCmT7R0VgJwQ2DOJ3/s8Oxba+R nB8AJnBz/7nbN0fGBirFaHf9bHwDvRbXbniqc81KI09Eh9wkV5xuAaup0FZUuJYn6S1z QiKg== X-Gm-Message-State: AOAM532Ca+8/L3Dg+ir0pUzhfy9+oO1kAeph8FYOlNYOdWG5/zfhdUh6 7atM2pz9cU9B3qC8WabPbz90BytetOlhhAtU7gr4rA== X-Google-Smtp-Source: ABdhPJwbZ9u9tLy2/XFt0F66+M0igECKW80M19PxEqHVLAIKfq0UPSavkEy7aq2hsE0b3l+YYmRu/8ugnJRO4KjszWA= X-Received: by 2002:a05:651c:205b:: with SMTP id t27mr5587855ljo.368.1610280240490; Sun, 10 Jan 2021 04:04:00 -0800 (PST) MIME-Version: 1.0 References: <20210109044622.8312-1-hailongliiu@yeah.net> <4c009d78.4e1.176ebcf8bc9.Coremail.hailongliiu@yeah.net> In-Reply-To: <4c009d78.4e1.176ebcf8bc9.Coremail.hailongliiu@yeah.net> From: Linus Walleij Date: Sun, 10 Jan 2021 13:03:49 +0100 Message-ID: Subject: Re: Re: [PATCH] arm/kasan:fix the arry size of kasan_early_shadow_pte To: hailong Cc: Andrey Ryabinin , Ziliang Guo , Hailong Liu , Russell King , kasan-dev , "linux-kernel@vger.kernel.org" , Linux Memory Management List , Alexander Potapenko , Dmitry Vyukov , Andrew Morton , Linux ARM Content-Type: text/plain; charset="UTF-8" X-Bogosity: Ham, tests=bogofilter, spamicity=0.000001, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Sun, Jan 10, 2021 at 11:21 AM hailong wrote: > >> +#ifndef PTE_HWTABLE_PTRS > >> +#define PTE_HWTABLE_PTRS 0 > >> +#endif > > > >Can this even happen? We have either pgtable-2level.h or > >pgtable-3level.h, both of which define PTE_HWTABLE_PTRS. > > > > I guess not for arm. But I'm not sure for other ARCHs. Oh it's a generic include. Sorry for the confusion. All good then! Yours, Linus Walleij