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 89D7AC47258 for ; Wed, 17 Jan 2024 09:42:50 +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:In-Reply-To:MIME-Version:References: 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=1Z+6NbyE+eVaP8i5rbCwkm3aNdvHZsdXovxVlQO/gXI=; b=rwbcfFDY4vrFTS HILpEl74T31SutTJo26YHSEZscHzidUktf3p5urvLj56bx6Jvayrzttx6D0NbUXGk6T5AbaIzUlJy SIMLYjW6Z4tAfVFAgOq6oDLjIc05fNS5IQNW5U3hUlVirOD7RTaHadl2j4HTLgaO0/bo3eInRzkW0 fKWaExXy6wrZV74+WNKsuhDVvFA6L0gvwIPJ8jGFliJ7CBhP8mFyf4OuLSpbtrCfawMhoElYyyeTn IXn/lx/yuK5LndhF7XQ2ZC8HKGUzl/zihDKZudKBTSU4wrJ5tTAzaSI5BvDtJxBtt5cEzwv3iduya 97keQMaYk1QOeufom7ig==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rQ2R7-00F8BA-1e; Wed, 17 Jan 2024 09:42:17 +0000 Received: from pandora.armlinux.org.uk ([2001:4d48:ad52:32c8:5054:ff:fe00:142]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rQ2R4-00F88M-20 for linux-arm-kernel@lists.infradead.org; Wed, 17 Jan 2024 09:42:17 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=0GcailXVX8bScB3XQ4DwyyM/w3Xe2yfasUDf2pmHVyI=; b=NUiP+zlUdCqI9vW37szSMPp6rA tmjv06xetGCbb2DgiGxmgMGOPlE3/a5kP5PxHi2jh6+tSENmd8lkepDLUnWvk2BYC1wT12CWDKKIi OrD7Z2fYWfm3eMY/Q8w6LQ6aHpqyyEvA2lxoygF1zKG7XnKRt1xzAeSLDpm8JhW/L1eRHvP3nGgrE Bm18N2kjBqK/9RJyjN+sVnOMISnPCwui6nkdCMElh81r+iFMvicnLSvK5eGOzAJbsV3sZ1QHFt9MY WHtQnmd45bqc57d34KFGyTfJao6H0SEespH8nZuQRflOd97pY3ZIGpRDyee07mdjU86EuHC/xVuWH 8+9EC6Uw==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:54068) by pandora.armlinux.org.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1rQ2Qr-0004WL-0H; Wed, 17 Jan 2024 09:42:01 +0000 Received: from linux by shell.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1rQ2Qk-0004gU-M3; Wed, 17 Jan 2024 09:41:54 +0000 Date: Wed, 17 Jan 2024 09:41:54 +0000 From: "Russell King (Oracle)" To: Hao Jia Cc: mark.rutland@arm.com, catalin.marinas@arm.com, corbet@lwn.net, will@kernel.org, willy@infradead.org, linux-arm-kernel@lists.infradead.org, linux-doc@vger.kernel.org, root Subject: Re: [PATCH v3 00/19] arm64 kernel text replication Message-ID: References: <20240117085357.31693-1-jiahao.os@bytedance.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20240117085357.31693-1-jiahao.os@bytedance.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240117_014214_658125_114D3FE1 X-CRM114-Status: GOOD ( 16.69 ) 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, Jan 17, 2024 at 04:53:38PM +0800, Hao Jia wrote: > From: root > > Many thanks to Russell King for his previous work on > arm64 kernel text replication. > https://lore.kernel.org/all/ZMKNYEkM7YnrDtOt@shell.armlinux.org.uk > > After applying these patches, we tested that our business performance > increased by more than 5% and the NUMA node memory bandwidth was more > balanced. > I've recently been trying to make it work with different numbers of > page tables/page sizes, so updated this patch set to V3. > > Patch overview: > > Patch 1-16 is a patch set based on Russell King's previous arm64 > kernel text replication, rebased on commit 052d534373b7. > > The following three patches are new in v3: > patch 17 fixes compilation warning > > patch 18 adapts arm64 kernel text replication to support more > page tables/page sizes, in addition to 16K page size and > 4-level page tables. > > patch 19 fixes the abnormal startup problem caused by module_alloc() > which may allocate an address larger than KIMAGE_VADDR when kernel text > replication is enabled. > > [v2] https://lore.kernel.org/all/ZMKNYEkM7YnrDtOt@shell.armlinux.org.uk > [RFC] https://lore.kernel.org/all/ZHYCUVa8fzmB4XZV@shell.armlinux.org.uk > > Please correct me if I've made a mistake, thank you very much! Note that, even though I haven't posted an update (I see it as mostly pointless because *noone* commented on the previous posting) I do maintain these patches: git://git.armlinux.org.uk/~rmk/linux-arm.git aarch64/ktext/head currently has them against v6.7 -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last! _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel