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.0 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 autolearn=ham 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 89D37C3F68F for ; Tue, 10 Dec 2019 14:39:40 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 145FC2077B for ; Tue, 10 Dec 2019 14:39:39 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=c-s.fr header.i=@c-s.fr header.b="S5kJVxPB" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 145FC2077B Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=c-s.fr Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 609ED6B2CCC; Tue, 10 Dec 2019 09:39:39 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 5B9A76B2CCD; Tue, 10 Dec 2019 09:39:39 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 4CF5B6B2CCE; Tue, 10 Dec 2019 09:39:39 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0008.hostedemail.com [216.40.44.8]) by kanga.kvack.org (Postfix) with ESMTP id 36CE76B2CCC for ; Tue, 10 Dec 2019 09:39:39 -0500 (EST) Received: from smtpin18.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay02.hostedemail.com (Postfix) with SMTP id BBDA752CC for ; Tue, 10 Dec 2019 14:39:38 +0000 (UTC) X-FDA: 76249490436.18.rake24_7140f247cd803 X-HE-Tag: rake24_7140f247cd803 X-Filterd-Recvd-Size: 3565 Received: from pegase1.c-s.fr (pegase1.c-s.fr [93.17.236.30]) by imf32.hostedemail.com (Postfix) with ESMTP for ; Tue, 10 Dec 2019 14:39:38 +0000 (UTC) Received: from localhost (mailhub1-ext [192.168.12.233]) by localhost (Postfix) with ESMTP id 47XN4R2jvMz9txPV; Tue, 10 Dec 2019 15:39:35 +0100 (CET) Authentication-Results: localhost; dkim=pass reason="1024-bit key; insecure key" header.d=c-s.fr header.i=@c-s.fr header.b=S5kJVxPB; dkim-adsp=pass; dkim-atps=neutral X-Virus-Scanned: Debian amavisd-new at c-s.fr Received: from pegase1.c-s.fr ([192.168.12.234]) by localhost (pegase1.c-s.fr [192.168.12.234]) (amavisd-new, port 10024) with ESMTP id h_8fAE0U-HoN; Tue, 10 Dec 2019 15:39:35 +0100 (CET) Received: from messagerie.si.c-s.fr (messagerie.si.c-s.fr [192.168.25.192]) by pegase1.c-s.fr (Postfix) with ESMTP id 47XN4R1Whkz9txPQ; Tue, 10 Dec 2019 15:39:35 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=c-s.fr; s=mail; t=1575988775; bh=gC07UrkwsOByoVoBIV4uyW1SIFHfck0w0oYmnN2eVmc=; h=Subject:To:References:From:Date:In-Reply-To:From; b=S5kJVxPBDtEJof7P7KiznADxbNG3gE1jXaxpcR3MKMReOTnvMUIuCOPU2EwO2JYvz bQF+6k36pGkxUSHvMr2woVfbXc1TrlcRFqStmczYl+Zel3SHLk7Imx+672RESlTwWE TGGY3rLrhsFplKCs29s3aOxdlXrG4Jy0gYxaqwLk= Received: from localhost (localhost [127.0.0.1]) by messagerie.si.c-s.fr (Postfix) with ESMTP id A165C8B815; Tue, 10 Dec 2019 15:39:36 +0100 (CET) X-Virus-Scanned: amavisd-new at c-s.fr Received: from messagerie.si.c-s.fr ([127.0.0.1]) by localhost (messagerie.si.c-s.fr [127.0.0.1]) (amavisd-new, port 10023) with ESMTP id Hn7oLwJSlDri; Tue, 10 Dec 2019 15:39:36 +0100 (CET) Received: from [192.168.4.90] (unknown [192.168.4.90]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 96E4F8B754; Tue, 10 Dec 2019 15:39:35 +0100 (CET) Subject: Re: [PATCH v2 2/4] kasan: use MAX_PTRS_PER_* for early shadow To: Balbir Singh , Daniel Axtens , linux-kernel@vger.kernel.org, linux-mm@kvack.org, linuxppc-dev@lists.ozlabs.org, linux-s390@vger.kernel.org, linux-xtensa@linux-xtensa.org, linux-arch@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kasan-dev@googlegroups.com, aneesh.kumar@linux.ibm.com References: <20191210044714.27265-1-dja@axtens.net> <20191210044714.27265-3-dja@axtens.net> From: Christophe Leroy Message-ID: <5d1ec6e3-777e-9f23-ea8f-50361a29302f@c-s.fr> Date: Tue, 10 Dec 2019 15:39:34 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: fr Content-Transfer-Encoding: quoted-printable X-Bogosity: Ham, tests=bogofilter, spamicity=0.000191, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: Le 10/12/2019 =C3=A0 10:36, Balbir Singh a =C3=A9crit=C2=A0: >=20 >=20 > On 10/12/19 3:47 pm, Daniel Axtens wrote: >> This helps with powerpc support, and should have no effect on >> anything else. >> >> Suggested-by: Christophe Leroy >> Signed-off-by: Daniel Axtens >=20 > If you follow the recommendations by Christophe and I, you don't need t= his patch I guess you mean Patch 1 (the one adding the const to all arches) is not=20 needed. Of course this one (Patch 2) is needed as it is the one that=20 changes kasan.h to use const table size instead of impossible variable=20 table size. And that would also fix the problem reported by the kbuild test robot. Christophe