Mark Johnston 70e68b19a4 Handle trashed queue pointers in vm_page_acquire_unlocked().
vm_page_acquire_unlocked() relies 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, so
add an explicit check for a trashed queue pointer before dereferencing.

Reported and tested by:	pho
Reviewed by:	kib
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D24472
2020-04-20 14:45:17 +00:00
..
2020-02-17 15:11:07 +00:00
2020-03-07 15:37:23 +00:00
2020-03-07 15:37:23 +00:00
2019-09-27 18:43:36 +00:00
2020-02-28 16:05:18 +00:00
2020-02-23 03:32:04 +00:00
2020-03-04 21:27:12 +00:00
2020-02-28 16:05:18 +00:00
2020-02-23 03:32:04 +00:00
2020-02-28 16:05:18 +00:00
2020-02-28 16:05:18 +00:00