A crash on ARM64 in move_freepages_block due to uninitialized pages in reserved memory

From
Michal Hocko <mhocko@kernel.org>
Date
2018-08-23 11:24:02
Also in
linux-mm
Reply to
Mikulas Patocka, 2018-08-23
On Thu 23-08-18 07:16:34, Mikulas Patocka wrote:

On Thu, 23 Aug 2018, Michal Hocko wrote:
quoted
On Thu 23-08-18 07:02:37, Mikulas Patocka wrote:
[...]
quoted
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?
During the boot. There's not hotplug.
Do you have any trail where the memory range is registered from?
-- 
Michal Hocko
SUSE Labs
Thread (18 messages) 18 messages, 5 authors, last reply 2018-09-07
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help