Re: Linux 6.11-rc1

From: Thomas Gleixner
Date: Wed Jul 31 2024 - 13:26:14 EST


On Wed, Jul 31 2024 at 18:51, Peter Zijlstra wrote:
> On Wed, Jul 31, 2024 at 06:31:05PM +0200, Peter Zijlstra wrote:
> Thomas, this all still relies on the full text section being PMD mapped,
> and since we don't have ALIGN_ENTRY_TEXT_END and _etext has PAGE_SIZE
> alignment, can't have a PAGE mapped tail which then doesn't get cloned?
>
> Do we want to make pto_clone_entry_text() use PTI_LEVEL_KERNEL_IMAGE
> such that it will clone whatever it has?

Yes, I think so.