Re: [PATCH] mm: don't defer struct page initialization for Xen pv guests

From: Pavel Tatashin
Date: Fri Feb 16 2018 - 12:43:31 EST


On 02/16/2018 09:02 AM, Juergen Gross wrote:
On 16/02/18 14:59, Michal Hocko wrote:
[CC Pavel]

On Fri 16-02-18 14:37:26, Juergen Gross wrote:
Commit f7f99100d8d95dbcf09e0216a143211e79418b9f ("mm: stop zeroing
memory during allocation in vmemmap") broke Xen pv domains in some
configurations, as the "Pinned" information in struct page of early
page tables could get lost.

Could you be more specific please?

In which way? Do you want to see the resulting crash in the commit
message or some more background information?

Hi Juergen,

Could you please provide details how to reproduce the problem, and crash message. Also, information about where exactly xen access struct pages before deferred pages are initialized.

Thank you,
Pasha



Avoid this problem by not deferring struct page initialization when
running as Xen pv guest.

Cc: <stable@xxxxxxxxxxxxxxx> #4.15
Fixes: f7f99100d8d9 ("mm: stop zeroing memory during allocation in vmemmap")

please

Okay.


Juergen