Re: [PATCHv7 02/14] mm: Add support for unaccepted memory

From: Dionna Amalie Glaze
Date: Thu Sep 08 2022 - 12:23:44 EST


>
> Looks like the first access to the memory map fails, although I think
> it's not in INIT_LIST_HEAD() but rather in init_page_count().
>
> I'd start with making sure that page_alloc::memmap_alloc() actually returns
> accepted memory. If you build kernel with CONFIG_DEBUG_VM=y the memory map
> will poisoned in this function, so my guess is it'd crash there.
>

That's a wonderful hint, thank you! I did not run this test
CONFIG_DEBUG_VM set, but you think it's possible it could still be
here?

> --
> Sincerely yours,
> Mike.



--
-Dionna Glaze, PhD (she/her)