Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2089989pxb; Mon, 22 Feb 2021 20:37:44 -0800 (PST) X-Google-Smtp-Source: ABdhPJxp6HannGWBym+r++z7SxzocciiCqQgKUUOkRNPOolYKP8qoX1AXw9zAh/Sd1feyx6FfZkH X-Received: by 2002:aa7:c543:: with SMTP id s3mr26792519edr.305.1614055064589; Mon, 22 Feb 2021 20:37:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614055064; cv=none; d=google.com; s=arc-20160816; b=Is12sid1C8BLqSgxSygZ1p49M5qTwuke/Bry8C7dQA0vPKfNXKog1uRjwgCMlyZL3Q HaTHSyHvkUdmU1h3MYibBM8DSqqk6z1CCoxJu8FVfOGm4IZ0ZkaXxTtyjSVENEze8cFz XU2ojkbO0xmwp9dXPYjIHnmrEShEfy2G1PYsTOy0z2nT2xPo10wuKsLMJAoWXJubQxtO eibuEuQQGj7lxQmk9ZL4eHwdAqcU/VjN+YHyc6ADGzjeJw0WsZeDtqlf/IjRxZMvgI2P RTpcKGAO+JBKOdwaSkLEuFNfV9O9MjbHyBkJqQFOJO/u47hA/EQZjSdxxCvdGZlhaxZo sBRw== 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 :message-id:to:from:cc:in-reply-to:subject:date:dkim-signature; bh=69faGMiqKu3nPyYAESPRzQr/N8GaW/xblPmvz3UTUyk=; b=xhxB++HBc3xw+b8SNmea/+iDJ40NQSRZjZsGlkrVpxKEFUg7WutSXqIoSLPg3q34XC vAXv8v8pHOr6GaMe61KbVnOz5tpe2Vf3ioJ8Q5fsOVAWb8uF0rgNQ/nG77VudaOssgad zQgDt0HLmahO5mJlPLSQOIh2kXfyN+6kyaRoEjysARDRC5bwW9PYq/WEKnrHgDrTI3Xj AETCqgPq/1j6GdsKkdiok0z+VHYHor2H3Ssd+i2LDjd5CvjGSxaCsKrB1mIsL/i+ypQi xum6Wib9BV3ZYyNAPH0qpiYLYBF/hE9TgqJ+3EDa3L3UdUdAV5H++74Gahp/wqujUkSj IpkQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@dabbelt-com.20150623.gappssmtp.com header.s=20150623 header.b=p3c4YUSB; 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 dk14si8208586edb.354.2021.02.22.20.37.20; Mon, 22 Feb 2021 20:37:44 -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=@dabbelt-com.20150623.gappssmtp.com header.s=20150623 header.b=p3c4YUSB; 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 S231164AbhBWC7F (ORCPT + 99 others); Mon, 22 Feb 2021 21:59:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50852 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230396AbhBWC7D (ORCPT ); Mon, 22 Feb 2021 21:59:03 -0500 Received: from mail-pj1-x102c.google.com (mail-pj1-x102c.google.com [IPv6:2607:f8b0:4864:20::102c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 888B1C061786 for ; Mon, 22 Feb 2021 18:58:23 -0800 (PST) Received: by mail-pj1-x102c.google.com with SMTP id t5so884341pjd.0 for ; Mon, 22 Feb 2021 18:58:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dabbelt-com.20150623.gappssmtp.com; s=20150623; h=date:subject:in-reply-to:cc:from:to:message-id:mime-version :content-transfer-encoding; bh=69faGMiqKu3nPyYAESPRzQr/N8GaW/xblPmvz3UTUyk=; b=p3c4YUSBMWjuo9w902cfnr7CT3hEXcNms1mFbon5F1U4TssdL5MH7X50J1wGMCJ8li d28LUYz6P2KU/NyJUWsJaq5EUDpW8oEAk4JRuhj23pfWvYy7b5gdE6C0S82N7J525n9G HY2CJOy0xhfaYM5IfmcY2BKDU6zMO4eXE1kVn6Qttf6itw4RiG3W+ApjLUMmHy37eySm OaRGz37uppx7ZW4Y2ot6xYcaMrUZ4I/IhPVaI4O/nyokzhFHi9qMreSJKRILUKu+qIZH gqkOWDGG9YfD35F2+/gABqF7LBM4fyWefYQDvQXqgzUWv+jooLva/7Sq6WOlvR9xcNeU DTRw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:subject:in-reply-to:cc:from:to:message-id :mime-version:content-transfer-encoding; bh=69faGMiqKu3nPyYAESPRzQr/N8GaW/xblPmvz3UTUyk=; b=d4cbEo7PEd8Yv0IJe4JsFeUJO88I1EzIcy914I0tGrqqZesIPDwlDTf058DnDSAaK2 1pfItXXo2HzGdbR9cj3UCtvZLHOXx2AW7TDdg++kGXbBUGUswYfpJpVL/vXa4gm5IEM6 qJZW8GVp+WCFA/27nIZpjNXTiTQ+l5rVc/BrTXl0dV7QByQIPzROclVdqeGPm4+pSvPZ vbvZk/KZfaktsSttLIsMay6D+SK/CoJqPriGMGvhBWZWDsT3ZuOCERahTzlPsgIOL52W p56pVIZokrRp9QqeOYoAxP+Qc7xOjPBqCnx5EK4m14iywfQMSq2XvKzD+Kvo19LO/+35 u62w== X-Gm-Message-State: AOAM532zxEUylJFeUu5VfvpxfxVcVY6wuQcw73DJG73T7LJqsCWwXdSV IkbddC4OM3zFMR89lCS4tS/UYw== X-Received: by 2002:a17:90a:1990:: with SMTP id 16mr17662033pji.26.1614049103146; Mon, 22 Feb 2021 18:58:23 -0800 (PST) Received: from localhost (76-210-143-223.lightspeed.sntcca.sbcglobal.net. [76.210.143.223]) by smtp.gmail.com with ESMTPSA id z28sm8702512pfr.38.2021.02.22.18.58.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Feb 2021 18:58:22 -0800 (PST) Date: Mon, 22 Feb 2021 18:58:22 -0800 (PST) X-Google-Original-Date: Mon, 22 Feb 2021 18:58:14 PST (-0800) Subject: Re: [PATCH 0/4] Kasan improvements and fixes In-Reply-To: <24d45989-4f4e-281c-3f58-d492f0b582e9@ghiti.fr> CC: aryabinin@virtuozzo.com, glider@google.com, dvyukov@google.com, Paul Walmsley , aou@eecs.berkeley.edu, kasan-dev@googlegroups.com, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, linux-mm@kvack.org From: Palmer Dabbelt To: alex@ghiti.fr Message-ID: Mime-Version: 1.0 (MHng) Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 21 Feb 2021 05:42:08 PST (-0800), alex@ghiti.fr wrote: > 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. Sorry about that, I must have missed these. For some reason I remember having read the big one, so I'm not sure what happened. They're on for-next. Thanks!