vm_page_acquire_unlocked() relies heavily on type-stability of vm_page
structures, and assumes that the listq linkage pointers always point to
a vm_page or are NULL. QUEUE_MACRO_DEBUG_TRASH breaks that assumption.
Reported by: pho
Differential D24472
Handle trashed queue pointers in vm_page_acquire_unlocked(). markj on Apr 17 2020, 5:15 PM. Authored by Tags None Referenced Files
Subscribers
Details vm_page_acquire_unlocked() relies heavily on type-stability of vm_page Reported by: pho
Diff Detail
Event TimelineComment Actions I mean that there were attempts to reuse m->q for pages not in the object queue, and there probably would be more. I believe it is somewhat mitigated by the requirement that prev is either busy or wired, this is why I agreed with the proposed patch. |