From: "Russell King (Oracle)" <linux@armlinux.org.uk>
To: Hao Jia <jiahao.os@bytedance.com>
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 <root@n144-101-220.byted.org>
Subject: Re: [PATCH v3 00/19] arm64 kernel text replication
Date: Wed, 17 Jan 2024 09:41:54 +0000 [thread overview]
Message-ID: <Zaeg4jw3TFBUBL8m@shell.armlinux.org.uk> (raw)
In-Reply-To: <20240117085357.31693-1-jiahao.os@bytedance.com>
On Wed, Jan 17, 2024 at 04:53:38PM +0800, Hao Jia wrote:
> From: root <root@n144-101-220.byted.org>
>
> 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!
next prev parent reply other threads:[~2024-01-17 9:42 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-17 8:53 [PATCH v3 00/19] arm64 kernel text replication Hao Jia
2024-01-17 8:53 ` [PATCH v3 01/19] arm64: provide cpu_replace_ttbr1_phys() Hao Jia
2024-01-17 8:53 ` [PATCH v3 02/19] arm64: make clean_dcache_range_nopatch() visible Hao Jia
2024-01-17 8:53 ` [PATCH v3 03/19] arm64: place kernel in its own L0 page table entry Hao Jia
2024-01-17 8:53 ` [PATCH v3 04/19] arm64: text replication: add init function Hao Jia
2024-01-17 8:53 ` [PATCH v3 05/19] arm64: text replication: add sanity checks Hao Jia
2024-01-17 8:53 ` [PATCH v3 06/19] arm64: text replication: copy initial kernel text Hao Jia
2024-01-17 8:53 ` [PATCH v3 07/19] arm64: text replication: add node text patching Hao Jia
2024-01-17 8:53 ` [PATCH v3 08/19] arm64: text replication: add node 0 page table definitions Hao Jia
2024-01-17 8:53 ` [PATCH v3 09/19] arm64: text replication: add swapper page directory helpers Hao Jia
2024-01-17 8:53 ` [PATCH v3 10/19] arm64: text replication: create per-node kernel page tables Hao Jia
2024-01-17 8:53 ` [PATCH v3 11/19] arm64: text replication: boot secondary CPUs with appropriate TTBR1 Hao Jia
2024-01-17 8:53 ` [PATCH v3 12/19] arm64: text replication: update cnp support Hao Jia
2024-01-17 8:53 ` [PATCH v3 13/19] arm64: text replication: setup page tables for copied kernel Hao Jia
2024-01-17 8:53 ` [PATCH v3 14/19] arm64: text replication: include most of read-only data as well Hao Jia
2024-01-17 8:53 ` [PATCH v3 15/19] arm64: text replication: early kernel option to enable replication Hao Jia
2024-01-17 8:53 ` [PATCH v3 16/19] arm64: text replication: add Kconfig Hao Jia
2024-01-17 8:53 ` [PATCH v3 17/19] arm64: text replication: fix compilation warning Hao Jia
2024-01-17 8:53 ` [PATCH v3 18/19] arm64: text replication: support more page sizes and levels Hao Jia
2024-01-17 8:53 ` [PATCH v3 19/19] arm64: text replication: keep modules inside module region when REPLICATE_KTEXT is enabled Hao Jia
2024-01-17 9:41 ` Russell King (Oracle) [this message]
2024-01-18 7:00 ` [External] Re: [PATCH v3 00/19] arm64 kernel text replication Hao Jia
-- strict thread matches above, loose matches on Subject: below --
2024-01-23 10:35 Yuquan Wang
2024-01-23 17:25 ` [PATCH " Russell King (Oracle)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Zaeg4jw3TFBUBL8m@shell.armlinux.org.uk \
--to=linux@armlinux.org.uk \
--cc=catalin.marinas@arm.com \
--cc=corbet@lwn.net \
--cc=jiahao.os@bytedance.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-doc@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=root@n144-101-220.byted.org \
--cc=will@kernel.org \
--cc=willy@infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).