Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp8276323rwd; Tue, 20 Jun 2023 12:45:10 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6sfObNEjoGPA+aZK/LyiEVLkLQPHqzHBxkhi7xxzOg8sbyzpo5glyxbl3QMM+dNF1LvTPO X-Received: by 2002:a05:6359:d22:b0:129:b810:926b with SMTP id gp34-20020a0563590d2200b00129b810926bmr7411004rwb.4.1687290310311; Tue, 20 Jun 2023 12:45:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687290310; cv=none; d=google.com; s=arc-20160816; b=u4bNsxhCIWtQpVRGOt5w5hme8RyS9oBQouZ1d369JCEzejpMfzCnAaDUZtVGrCTZFX FR8crFOZHtzbUJHuLI8EHbetO8kaImCBbi92SvIFqid/rZB5WFu6jEhXuvnQCYVgzBl6 eqya14ZksKw/aWfN1AvUscWcA3iYsaHDigV4i7cPJzwpR0N9Riw1YhkPvZrxckYvSO5x 8wN6oaBPsaZL2mlc3ywyeatWitHqIv7mAwMKU9ACwwFeMPicWBYJHhrAcmInKKLITRfp Cknhgzz2mWw8uZ0jnsLwwksxuJ1ZypHIV9moEf91f6jLwkuNLyptoeZh+kKjdm3AV4SZ tDjQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:from:cc:content-transfer-encoding :mime-version:date:message-id:subject:references:in-reply-to :dkim-signature; bh=5Jak4VAiKyxNW2MF2c52goYxqj84zATitJ45PnIg+zA=; b=JDVEEpklOckUkBu3AS7rpumujWpBilht7AH0YRtOYwdFZMmBdUb/gcogPUNhFmaQe0 ercOoRmKshS+nUU5jpYwFDtQRQkBZtjWMPqe2aHc2QDFp6yN/zaTF5bEhJqiWHj+4pBL 4Tiloyl8Je5160cxs0klapNAb0j2irbwr+bo5dvTfU8W8WbEcKjdXH56g/6XuqAUmQsH LEsdNqUFLvF5Ulc/2EWaDVDRTOprtKnD+MuVpneOJPB3cmkJ0op4T78Tyj2DyHuNI8JU XeXP7+1hYCA0EMh6GrG1vKMqdtLFaUaMDrNOwW7B7km+vAETGfbfKARfDFp5k/PFa60n P2mg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@rivosinc-com.20221208.gappssmtp.com header.s=20221208 header.b="jj/nx4Q6"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y18-20020a63b512000000b005537e4e7d59si2400063pge.84.2023.06.20.12.44.57; Tue, 20 Jun 2023 12:45:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@rivosinc-com.20221208.gappssmtp.com header.s=20221208 header.b="jj/nx4Q6"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229986AbjFTTay (ORCPT + 99 others); Tue, 20 Jun 2023 15:30:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57980 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229720AbjFTTax (ORCPT ); Tue, 20 Jun 2023 15:30:53 -0400 Received: from mail-pl1-x630.google.com (mail-pl1-x630.google.com [IPv6:2607:f8b0:4864:20::630]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0DD991B6 for ; Tue, 20 Jun 2023 12:30:52 -0700 (PDT) Received: by mail-pl1-x630.google.com with SMTP id d9443c01a7336-1b50394a7f2so29292925ad.1 for ; Tue, 20 Jun 2023 12:30:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rivosinc-com.20221208.gappssmtp.com; s=20221208; t=1687289451; x=1689881451; h=to:from:cc:content-transfer-encoding:mime-version:date:message-id :subject:references:in-reply-to:from:to:cc:subject:date:message-id :reply-to; bh=5Jak4VAiKyxNW2MF2c52goYxqj84zATitJ45PnIg+zA=; b=jj/nx4Q6wNcCgENH9upzbuBBoImgkFJF8LxIGxpgWSB9SKXU30q8kWo4GaX1UuvSB7 cdjPBn1/jMj2LABx1PB07h45Myd+qD0uZNHctKmuR7hdIGlPAXaZf18758E9K8cweq0F /3uGiQhsp4cG7LQ3UQdWKcjMSHK/s3CFpJoltpwy2aIusr/E8xAKJ/MVI/OPvv1CcaAi DBPLtM1clszs6abhLfytm+rQXgx31+E/6QSuORzUZA+P9p+lUOEsEnjP23tZpBUzAhwb RXTlrEmySXpJagjNknKVF0WIz+sxt/WFkHeEWDzv68GAwO4obOG1SWoHpfEdEjT5roOr 3MCg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687289451; x=1689881451; h=to:from:cc:content-transfer-encoding:mime-version:date:message-id :subject:references:in-reply-to:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=5Jak4VAiKyxNW2MF2c52goYxqj84zATitJ45PnIg+zA=; b=FdMIQaK9KT2IrNk2pv/A75OEbcVcy6KjLoRW4SqjXdegG5GnIFRTpSEhpe5MSarqPt CioiQVbsKz6AHmLSJWoSoh/H2GCbSe9iFAmX7VHJ3SGkkdvaYdYfdpB2K3tHai+lafr+ 1yxUyWzTYoZhiFJQU/sWpPGvXEdmaPOaOx6a0AX1ywIpugup6y3jGtyBybLrXt5oNP5e q1Re+FsVVdgH0FgJm+F2z13lcRCjnewN12S0kZTTRdGeqkA42sV4SqtKpanJcgazb02v /hIxRRll2JmfHnOz+9fNmC/Oz46cGW1yTA1GC449wJiefkMoSix4X4Jdj7wvU+E2W1Aq BZ8w== X-Gm-Message-State: AC+VfDyD+sCLIb5sEnsn4MsyD1Te8toBaucyeIGbiUaeBLZltJh/e8yw AHyrjtM69Ycq6pnGZJpY6HuljQ== X-Received: by 2002:a17:902:cec9:b0:1af:f751:1be4 with SMTP id d9-20020a170902cec900b001aff7511be4mr12796873plg.63.1687289451482; Tue, 20 Jun 2023 12:30:51 -0700 (PDT) Received: from localhost ([50.221.140.188]) by smtp.gmail.com with ESMTPSA id d14-20020a170902b70e00b001b0034557afsm2000604pls.15.2023.06.20.12.30.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Jun 2023 12:30:49 -0700 (PDT) In-Reply-To: <20230523165942.2630-1-jszhang@kernel.org> References: <20230523165942.2630-1-jszhang@kernel.org> Subject: Re: [PATCH] riscv: mm: try VMA lock-based page fault handling first Message-Id: <168728927543.19726.6287680101393948485.b4-ty@rivosinc.com> Date: Tue, 20 Jun 2023 12:27:55 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: b4 0.13-dev-901c5 Cc: linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, Suren Baghdasaryan From: Palmer Dabbelt To: Paul Walmsley , Palmer Dabbelt , Albert Ou , Jisheng Zhang X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 24 May 2023 00:59:42 +0800, Jisheng Zhang wrote: > Attempt VMA lock-based page fault handling first, and fall back to the > existing mmap_lock-based handling if that fails. > > A simple running the ebizzy benchmark on Lichee Pi 4A shows that > PER_VMA_LOCK can improve the ebizzy benchmark by about 32.68%. In > theory, the more CPUs, the bigger improvement, but I don't have any > HW platform which has more than 4 CPUs. > > [...] Applied, thanks! [1/1] riscv: mm: try VMA lock-based page fault handling first https://git.kernel.org/palmer/c/648321fa0d97 Best regards, -- Palmer Dabbelt