Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1651633
| From | "Kirill A. Shutemov" <kirill@shutemov.name> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | KASAN vs. boot-time switching between 4- and 5-level paging |
| Date | 2017-05-27 03:30 +0200 |
| Message-ID | <tLyIj-4Vw-55@gated-at.bofh.it> (permalink) |
| References | <tL7I5-4wz-3@gated-at.bofh.it> <tL7I6-4wz-19@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Thu, May 25, 2017 at 11:33:33PM +0300, Kirill A. Shutemov wrote: > diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig > index 0bf81e837cbf..c795207d8a3c 100644 > --- a/arch/x86/Kconfig > +++ b/arch/x86/Kconfig > @@ -100,7 +100,7 @@ config X86 > select HAVE_ARCH_AUDITSYSCALL > select HAVE_ARCH_HUGE_VMAP if X86_64 || X86_PAE > select HAVE_ARCH_JUMP_LABEL > - select HAVE_ARCH_KASAN if X86_64 && SPARSEMEM_VMEMMAP > + select HAVE_ARCH_KASAN if X86_64 && SPARSEMEM_VMEMMAP && !X86_5LEVEL > select HAVE_ARCH_KGDB > select HAVE_ARCH_KMEMCHECK > select HAVE_ARCH_MMAP_RND_BITS if MMU Looks like KASAN will be a problem for boot-time paging mode switching. It wants to know CONFIG_KASAN_SHADOW_OFFSET at compile-time to pass to gcc -fasan-shadow-offset=. But this value varies between paging modes... I don't see how to solve it. Folks, any ideas? -- Kirill A. Shutemov
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCHv1, RFC 7/8] x86/mm: Hacks for boot-time switching between 4- and 5-level paging "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com> - 2017-05-25 22:40 +0200
KASAN vs. boot-time switching between 4- and 5-level paging "Kirill A. Shutemov" <kirill@shutemov.name> - 2017-05-27 03:30 +0200
Re: KASAN vs. boot-time switching between 4- and 5-level paging Dmitry Vyukov <dvyukov@google.com> - 2017-05-29 12:10 +0200
Re: KASAN vs. boot-time switching between 4- and 5-level paging Dmitry Vyukov <dvyukov@google.com> - 2017-05-29 13:30 +0200
csiph-web