# A crash on ARM64 in move\_freepages\_block due to uninitialized pages in reserved memory

- From: Mikulas Patocka \<mpatocka@redhat.com\>
- Date: 2018-08-23 11:16:36 
- List: linux-arm-kernel
- Page: https://ratatoskr.run/linux-arm-kernel/2018/08/6489113
- Thread: https://ratatoskr.run/linux-arm-kernel/2018/08/6489026/t.md

```text


On Thu, 23 Aug 2018, Michal Hocko wrote:

> On Thu 23-08-18 07:02:37, Mikulas Patocka wrote:
> [...]
> > This crash is not from -ENOENT. It crashes because page->compound_head is 
> > 0xffffffffffffffff (see below).
> > 
> > If I enable CONFIG_DEBUG_VM, I also get VM_BUG.
> 
> This smells like the struct page is not initialized properly. How is
> this memory range added? I mean is it brought up by the memory hotplug
> or during the boot?
> -- 
> Michal Hocko
> SUSE Labs

During the boot. There's not hotplug.

Mikulas
```
