Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp937445pxb; Sun, 21 Feb 2021 05:44:26 -0800 (PST) X-Google-Smtp-Source: ABdhPJz1VuoYjP1pwZib41JlnRiO1vmxuX749ek2fW/uin0qwzQHrDv5HVsNRv57Mke54aSBcUbI X-Received: by 2002:a17:906:a1c2:: with SMTP id bx2mr17239152ejb.138.1613915066635; Sun, 21 Feb 2021 05:44:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613915066; cv=none; d=google.com; s=arc-20160816; b=UzxjJ7X5yo8++tAx5FmYk2FH5dtwonK7F6WU9gIYad1kfZ7lIGCVkWw0dCTZS6fBKQ toTwRhaOtcF0dWc1z4J52lvl0uahGxHWbGAqJaxsJd+mEJFiN3T3Xlc+9/ocg5fMg3ye Xt+JoM7/+bmATeK9CnU4yvR6DSkGMYKHT4tNSSVIIL15RpUUBbUmolwD+CD876Wxyyu0 i0PwcW3+LTZU3JYu6oIIPB+DkAWvt7gDcp34twoUc+qckz/9p+1zvhy4D0PUYa0qyH4j Eoa7DcwWJZvNP6q8BQmeBzwv74vU0yK1SNu7oxS/HBwZ0EaiAx2ljvDPGJhUCEGv9qKP fRUw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:cc :references:to:subject; bh=wHo3dRGvfPGQLsBYBRTH9MD3www1VUH0lsxxxS5CAXA=; b=xokILdppsW8oolAkJbg/QmAyr47s6udZgHnJ2Tp47Hg+dvlvViGAXvteVTomD6P/qR j4UDKiBY6YQyDzkUpidhK2Rm09xW8AnM6EHZLJqsBjY8PfWU5/Tis1e1E6mVdNg9YgrU 4IIuKotmv2Gx8bcwKKKqOTb4rj60JGaFNCWudF7wgCuWABKzBqNgvDtOCxDo4W4KuMKj W/eB1bMfSm3Tbny7fQ0VMxJnfmSPG6yIimwr9UdeuNfe6gSF8s+Q8lsbttVcvQErruzH Fe8ALfLhqjFketjmxxljoj9O7xbrAXHEGyCng3J2aKFXpy6t/AYpncUSAVxhdcyQ6p6H wjaA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g17si9113978edb.473.2021.02.21.05.44.04; Sun, 21 Feb 2021 05:44:26 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229867AbhBUNnA (ORCPT + 99 others); Sun, 21 Feb 2021 08:43:00 -0500 Received: from relay11.mail.gandi.net ([217.70.178.231]:51227 "EHLO relay11.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229802AbhBUNm6 (ORCPT ); Sun, 21 Feb 2021 08:42:58 -0500 Received: from [192.168.1.100] (lfbn-lyo-1-457-219.w2-7.abo.wanadoo.fr [2.7.49.219]) (Authenticated sender: alex@ghiti.fr) by relay11.mail.gandi.net (Postfix) with ESMTPSA id C7EE1100002; Sun, 21 Feb 2021 13:42:09 +0000 (UTC) Subject: Re: [PATCH 0/4] Kasan improvements and fixes To: Andrey Ryabinin , Alexander Potapenko , Dmitry Vyukov , Paul Walmsley , Palmer Dabbelt , Albert Ou , kasan-dev@googlegroups.com, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org References: <20210208193017.30904-1-alex@ghiti.fr> Cc: linux-arch@vger.kernel.org, linux-mm@kvack.org From: Alex Ghiti Message-ID: <24d45989-4f4e-281c-3f58-d492f0b582e9@ghiti.fr> Date: Sun, 21 Feb 2021 08:42:08 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 MIME-Version: 1.0 In-Reply-To: <20210208193017.30904-1-alex@ghiti.fr> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: fr Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Le 2/8/21 ? 2:30 PM, Alexandre Ghiti a ?crit?: > This small series contains some improvements for the riscv KASAN code: > > - it brings a better readability of the code (patch 1/2) > - it fixes oversight regarding page table population which I uncovered > while working on my sv48 patchset (patch 3) > - it helps to have better performance by using hugepages when possible > (patch 4) > > Alexandre Ghiti (4): > riscv: Improve kasan definitions > riscv: Use KASAN_SHADOW_INIT define for kasan memory initialization > riscv: Improve kasan population function > riscv: Improve kasan population by using hugepages when possible > > arch/riscv/include/asm/kasan.h | 22 +++++- > arch/riscv/mm/kasan_init.c | 119 ++++++++++++++++++++++++--------- > 2 files changed, 108 insertions(+), 33 deletions(-) > I'm cc-ing linux-arch and linux-mm to get more chance to have reviewers on this series. Thanks, Alex