Re: [PATCH v2] mm/gup: fix try_grab_compound_head() race with split_huge_page()

From: Jann Horn
Date: Mon Jun 14 2021 - 22:46:32 EST


On Tue, Jun 15, 2021 at 4:36 AM Jann Horn <jannh@xxxxxxxxxx> wrote:
> If you don't like the ifdeffery in this patch, can you please merge
> the v1 patch? It's not like I was adding a new BUG_ON(), I was just
> refactoring an existing BUG_ON() into a helper function, so I wasn't
> making things worse; and I don't want to think about how to best
> design WARN/BUG macros for the VM subsystem in order to land this
> bugfix.

Ah, nevermind, I hadn't seen that you already merged this one.