Re: [PATCH] mm/page_owner: fix a crash after memory offline

From: David Hildenbrand
Date: Fri Oct 11 2019 - 05:57:32 EST


On 10.10.19 21:12, Qian Cai wrote:
On Thu, 2019-10-10 at 20:55 +0200, David Hildenbrand wrote:
On 10.10.19 20:32, Qian Cai wrote:
The linux-next series "mm/memory_hotplug: Shrink zones before removing
memory" [1] seems make a crash easier to reproduce while reading
/proc/pagetypeinfo after offlining a memory section. Fix it by using
pfn_to_online_page() in the PFN walker.

Can you please rephrase the subject+description to describe the actual
problem and drop the reference to the series?

I'd figure it is better for you to post this as you are on the top of this whole
mess. What do you think?

You mean, I found the key to an unlimited amount of undetected BUGs, so I should fix them? ;)

In case you don't have time to explore all the dirty details, I can take it from here. Just let me know.

--

Thanks,

David / dhildenb