Re: [PATCH] mm/page_alloc: fix a crash in free_pages_prepare()

Kirill A. Shutemov
2019-09-30T11:04:38Z

On Fri, Sep 27, 2019 at 03:47:03PM -0400, Qian Cai wrote:
> On architectures like s390, arch_free_page() could mark the page unused
> (set_page_unused()) and any access later would trigger a kernel panic.
> Fix it by moving arch_free_page() after all possible accessing calls.

Looks like Power also uses the hook. Have you check that this patch will
not affect Power?

--
Kirill A. Shutemov