[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <864b4fbe-4462-9962-7afd-9140d5165cdb@intel.com>
Date: Thu, 27 Oct 2022 08:12:26 -0700
From: Dave Hansen <dave.hansen@...el.com>
To: Andrey Ryabinin <ryabinin.a.a@...il.com>,
Peter Zijlstra <peterz@...radead.org>,
kernel test robot <yujie.liu@...el.com>
Cc: oe-lkp@...ts.linux.dev, lkp@...el.com,
Dave Hansen <dave.hansen@...ux.intel.com>,
Seth Jenkins <sethjenkins@...gle.com>,
Kees Cook <keescook@...omium.org>,
linux-kernel@...r.kernel.org, x86@...nel.org,
Alexander Potapenko <glider@...gle.com>,
Andrey Konovalov <andreyknvl@...il.com>,
Dmitry Vyukov <dvyukov@...gle.com>,
Vincenzo Frascino <vincenzo.frascino@....com>,
kasan-dev@...glegroups.com, "Yin, Fengwei" <fengwei.yin@...el.com>
Subject: Re: [tip:x86/mm] [x86/mm] 1248fb6a82:
Kernel_panic-not_syncing:kasan_populate_pmd:Failed_to_allocate_page
On 10/25/22 08:39, Andrey Ryabinin wrote:
> KASAN tries to allocate shadow memory for the whole cpu entry area.
> The size is CPU_ENTRY_AREA_MAP_SIZE/8 and this is obviously fails after your patch.
> The fix this might be something like this:
>
> ---
> arch/x86/include/asm/kasan.h | 2 ++
> arch/x86/mm/cpu_entry_area.c | 3 +++
> arch/x86/mm/kasan_init_64.c | 16 +++++++++++++---
> 3 files changed, 18 insertions(+), 3 deletions(-)
Andrey, if you have a minute, could you send this as a real patch, with
a SoB?
Alternatively, do you have any issues if we add your SoB and apply it?
Powered by blists - more mailing lists