mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andrey Ryabinin <ryabinin.a.a@gmail.com>
To: Dave Hansen <dave.hansen@intel.com>,
	Peter Zijlstra <peterz@infradead.org>,
	kernel test robot <yujie.liu@intel.com>
Cc: oe-lkp@lists.linux.dev, lkp@intel.com,
	Dave Hansen <dave.hansen@linux.intel.com>,
	Seth Jenkins <sethjenkins@google.com>,
	Kees Cook <keescook@chromium.org>,
	linux-kernel@vger.kernel.org, x86@kernel.org,
	Alexander Potapenko <glider@google.com>,
	Andrey Konovalov <andreyknvl@gmail.com>,
	Dmitry Vyukov <dvyukov@google.com>,
	Vincenzo Frascino <vincenzo.frascino@arm.com>,
	kasan-dev@googlegroups.com, "Yin,
	Fengwei" <fengwei.yin@intel.com>
Subject: Re: [tip:x86/mm] [x86/mm] 1248fb6a82: Kernel_panic-not_syncing:kasan_populate_pmd:Failed_to_allocate_page
Date: Fri, 28 Oct 2022 00:35:44 +0300	[thread overview]
Message-ID: <1c3209e7-a184-22f7-096c-874a2f77ce55@gmail.com> (raw)
In-Reply-To: <864b4fbe-4462-9962-7afd-9140d5165cdb@intel.com>



On 10/27/22 18:12, Dave Hansen wrote:
> 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?

Done, It slightly different because there was a bug in vaddr->nid calculation.

  parent reply	other threads:[~2022-10-27 21:36 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-25  4:54 kernel test robot
2022-10-25 10:33 ` Peter Zijlstra
2022-10-25 14:14   ` Yin, Fengwei
2022-10-25 15:39   ` Andrey Ryabinin
2022-10-27 10:02     ` Yujie Liu
2022-10-27 10:13       ` Peter Zijlstra
2022-10-27 15:12     ` Dave Hansen
2022-10-27 21:31       ` [PATCH] x86/kasan: map shadow for percpu pages on demand Andrey Ryabinin
2022-10-28  2:51         ` Yin, Fengwei
2022-10-28 14:20           ` Andrey Ryabinin
2022-10-31  0:15             ` Yin, Fengwei
2022-10-27 21:35       ` Andrey Ryabinin [this message]
2022-10-28  6:43 ` [tip: x86/mm] x86/kasan: Map " tip-bot2 for Andrey Ryabinin
2022-12-17 18:55 ` tip-bot2 for Andrey Ryabinin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1c3209e7-a184-22f7-096c-874a2f77ce55@gmail.com \
    --to=ryabinin.a.a@gmail.com \
    --cc=andreyknvl@gmail.com \
    --cc=dave.hansen@intel.com \
    --cc=dave.hansen@linux.intel.com \
    --cc=dvyukov@google.com \
    --cc=fengwei.yin@intel.com \
    --cc=glider@google.com \
    --cc=kasan-dev@googlegroups.com \
    --cc=keescook@chromium.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lkp@intel.com \
    --cc=oe-lkp@lists.linux.dev \
    --cc=peterz@infradead.org \
    --cc=sethjenkins@google.com \
    --cc=vincenzo.frascino@arm.com \
    --cc=x86@kernel.org \
    --cc=yujie.liu@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®