Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 97BAFCDB465 for ; Thu, 19 Oct 2023 11:11:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:From:References:CC:To:Subject: MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=4+j4BDCn7YAzttCfL4Ayf8TmWevScQlCQufL+FYI2/w=; b=bQSNptBAmFj1vo J+6dWGK5/uCJLesNpjCJzcPfaDk0a6oxeAx6wrn96CV2uoymqbtH7kuBy6w+MQh8capdgmQNOVSJk lCVesA2fGW0BL6LUGLFtXO6L1NKSWpsEMFMS3G+kS6JPbQrqWa4aiXkrDVNgPPD3b2hjWHALDBTpP K5eFTJYeDsgHDSTY/LY6t8hK4pgCQGUK4YDbrPfJunj/R32NtW1Ew9SGXUo8HpoD6JOLdbe5sKIBr ZT7KRYSSIs4pq4KBsnwpUTpAcOiLlTuRAearbOtClCBftdqk1DwV67zdFXZIRKZN3Sl+4jK7U4T0f XufgO8+ulYK1k21spqJQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qtQvP-00H8MM-2c; Thu, 19 Oct 2023 11:10:47 +0000 Received: from szxga01-in.huawei.com ([45.249.212.187]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qtQvN-00H8LW-05 for linux-arm-kernel@lists.infradead.org; Thu, 19 Oct 2023 11:10:46 +0000 Received: from dggpemm100001.china.huawei.com (unknown [172.30.72.55]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4SB4gn5JBqzrTG3; Thu, 19 Oct 2023 19:07:49 +0800 (CST) Received: from [10.174.177.243] (10.174.177.243) by dggpemm100001.china.huawei.com (7.185.36.93) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.31; Thu, 19 Oct 2023 19:10:34 +0800 Message-ID: <83f3a7e9-e6f2-4ff1-bf2f-d33b983d007b@huawei.com> Date: Thu, 19 Oct 2023 19:10:33 +0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] arm: mm: try VMA lock-based page fault handling first Content-Language: en-US To: "Russell King (Oracle)" CC: , Suren Baghdasaryan References: <20231018080332.2663192-1-wangkefeng.wang@huawei.com> From: Kefeng Wang In-Reply-To: X-Originating-IP: [10.174.177.243] X-ClientProxiedBy: dggems703-chm.china.huawei.com (10.3.19.180) To dggpemm100001.china.huawei.com (7.185.36.93) X-CFilter-Loop: Reflected X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231019_041045_288474_11DCFB8E X-CRM114-Status: GOOD ( 10.25 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 2023/10/19 18:55, Russell King (Oracle) wrote: > On Wed, Oct 18, 2023 at 04:03:32PM +0800, Kefeng Wang wrote: >> Attempt VMA lock-based page fault handling first, and fall back to the >> existing mmap_lock-based handling if that fails, the ebizzy benchmark >> shows 25% improvement(records/s) on qemu with 2 cpus. > > Looks fine to me, but I wonder how much of this code gets repeated in > the other architectures. Thanks, I post a rfc to reduce the code reduplication between archs, but not too much reply about it[1], so I give up. > > What is the plan for merging this? If you would like me to apply it, > please submit it to the patch system, details in my signature below. > sure, I will submit via arm patch system. [1]https://lore.kernel.org/linux-mm/20230821123056.2109942-1-wangkefeng.wang@huawei.com/ _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel