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 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 7233BC072A2 for ; Wed, 15 Nov 2023 21:38:16 +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-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Mime-Version:References:In-Reply-To: Message-Id:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=+afKsJkg4vP29T6VNXIOxolJSCaQQy8Q10aCfvVTERo=; b=UwxYktzeavjXgz VbRwru9pKEq+28+uCVPP4Fu1Q+L0j6NOHHPuqIxjMpWkPtYF0tMd9ik2PRyee5zENAK8GkaQHBL4B HsqcYKmglr/CVIeXpUi84NQkH8x+uHo4ATWi4usL5VfzPPptzy1Az+AiPzG/+WM5dsKOp84moDOTj e/prQ0JbjMWQHyBWxbmMV+/W1CQRgVg5/ttmSR5mI1saqMg3RToeCGKL6BMe5hpiCrRCssQCBb6Kj 7G+cp4AI8oscibtaRvJV0h29UgyPFCwkfL7F3IAi9WfDW6qgIqZSokE8ODm/xhgmqIjWdS8oIK0h8 tWPUlHSVt8gPRXe8yRIg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1r3Na0-001mwC-38; Wed, 15 Nov 2023 21:37:48 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1r3NZy-001mvd-1K for linux-arm-kernel@lists.infradead.org; Wed, 15 Nov 2023 21:37:47 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id C1E5E617F0; Wed, 15 Nov 2023 21:37:45 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6D6A8C433C7; Wed, 15 Nov 2023 21:37:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1700084265; bh=TFoTHcEUNvXn3HPCw0gAhjtcUPXY2nHk/gab9kxZ9VE=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=sv7n1QElgb76rqGToIAUTZedLTS/X9qMA6j8l+9hRUdBY0E+pxb/5+Ltz7rkDnIgm zaONW59Qxi1ad6w0pkPNwKCkuqvuyEZ6MszSUEsBKesg37khLpOcLkGa8y4OBwsM1Y ERXZeEI2P2t2rBRKrjKPjthF4uRmzOYTheF+HgBg= Date: Wed, 15 Nov 2023 13:37:43 -0800 From: Andrew Morton To: Ryan Roberts Cc: Catalin Marinas , Will Deacon , Ard Biesheuvel , Marc Zyngier , Oliver Upton , James Morse , Suzuki K Poulose , Zenghui Yu , Andrey Ryabinin , Alexander Potapenko , Andrey Konovalov , Dmitry Vyukov , Vincenzo Frascino , Anshuman Khandual , Matthew Wilcox , Yu Zhao , Mark Rutland , David Hildenbrand , Kefeng Wang , John Hubbard , Zi Yan , linux-arm-kernel@lists.infradead.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 01/14] mm: Batch-copy PTE ranges during fork() Message-Id: <20231115133743.674690dc78041768b79fadd9@linux-foundation.org> In-Reply-To: <20231115163018.1303287-2-ryan.roberts@arm.com> References: <20231115163018.1303287-1-ryan.roberts@arm.com> <20231115163018.1303287-2-ryan.roberts@arm.com> X-Mailer: Sylpheed 3.8.0beta1 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Mime-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231115_133746_505740_0372DA2D X-CRM114-Status: GOOD ( 11.01 ) 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-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, 15 Nov 2023 16:30:05 +0000 Ryan Roberts wrote: > However, the primary motivation for this change is to reduce the number > of tlb maintenance operations that the arm64 backend has to perform > during fork Do you have a feeling for how much performance improved due to this? Are there other architectures which might similarly benefit? By implementing ptep_set_wrprotects(), it appears. If so, what sort of gains might they see? _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel