Messages in this thread | | | Date | Fri, 18 May 2018 12:38:39 +0200 (CEST) | From | Thomas Gleixner <> | Subject | Re: [patch V181 35/54] x86/entry: Align entry text section to PMD boundary |
| |
On Thu, 17 May 2018, Josh Poimboeuf wrote:
> On Wed, Dec 20, 2017 at 10:35:38PM +0100, Thomas Gleixner wrote: > > From: Thomas Gleixner <tglx@linutronix.de> > > > > The (irq)entry text must be visible in the user space page tables. To allow > > simple PMD based sharing, make the entry text PMD aligned. > > > > Signed-off-by: Thomas Gleixner <tglx@linutronix.de> > > Signed-off-by: Ingo Molnar <mingo@kernel.org> > > With my config, this patch adds 2.5M (+~25%) to the kernel text size. > Is there a more granular way to achieve this?
We could make it PTE granular with some effort, but that would make the whole PTI handling more complex. So not sure, if that's worth it.
Thanks,
tglx
| |