Re: [PATCH] x86/mm/pat: allocate split page tables as kernel page tables

Andrew Morton <[email protected]>
Newsgroups dev.linux.lists.iommu,org.kernel.vger.linux-kernel,org.kernel.vger.stable,org.kvack.linux-mm
Message-ID <[email protected]>
On Mon, 20 Jul 2026 10:27:29 +0100 "Lorenzo Stoakes (ARM)" <[email protected]> wrote:

> When splitting a large page in CPA in __split_large_page() we allocate a
> PTE directly without going through the standard page table allocation
> routines such as pte_alloc_one_kernel().
> 
> This means the page table constructor is never called nor is the page table
> marked as a kernel page table.

Thanks, I'll await x86 review on this (Dave?).  Also, Sashiko might
have found a pre-existing thing:

	https://sashiko.dev/#/patchset/[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.