[Bug 242961] Crashes (elf64_coredump … vm_object_set_writeable_dirty) after the recent vm patch series
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Dec 29 19:24:25 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=242961
--- Comment #11 from Mark Johnston <markj at FreeBSD.org> ---
(In reply to Greg V from comment #10)
I presume these are all with INVARIANTS enabled?
Can you try this patch instead of the last one?
diff --git a/sys/vm/vm_page.c b/sys/vm/vm_page.c
index e99732028af5..b9ba4b502459 100644
--- a/sys/vm/vm_page.c
+++ b/sys/vm/vm_page.c
@@ -4013,7 +4013,7 @@ vm_page_mvqueue(vm_page_t m, const uint8_t nqueue, const
uint16_t nflag)
KASSERT(nflag == PGA_REQUEUE || nflag == PGA_REQUEUE_HEAD,
("%s: invalid flags %x", __func__, nflag));
- if ((m->oflags & VPO_UNMANAGED) != 0)
+ if ((m->oflags & VPO_UNMANAGED) != 0 || vm_page_wired(m))
return;
old = vm_page_astate_load(m);
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list