On Tue, Jul 26, 2022 at 12:45 AM David Hildenbrand <david@xxxxxxxxxx> wrote: > > > VM_BUG_ON(!(vmf->flags & FAULT_FLAG_WRITE)); > > - VM_BUG_ON(PageAnon(page) && !PageAnonExclusive(page)); > > + VM_BUG_ON(page && PageAnon(page) && !PageAnonExclusive(page)); > > Indeed, fortunately, only an issue in the VM_BUG_ON statement Well, at least Fedora ends up enabling CONFIG_DEBUG_VM by default, so normal people - not just VM people - can definitely see this. > Reviewed-by: David Hildenbrand <david@xxxxxxxxxx> Applied. Linus