diff options
author | kib <kib@FreeBSD.org> | 2015-10-18 09:33:28 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2015-10-18 09:33:28 +0000 |
commit | 9d188e9d5cda858010e5985995d7becd469456f8 (patch) | |
tree | 75895eaeab973fa6cd0b491ad6581bc37c8d88f8 /cddl | |
parent | c1a65e2b3fddbf58c4e8adbdcc00d3b93585e8ee (diff) | |
download | FreeBSD-src-9d188e9d5cda858010e5985995d7becd469456f8.zip FreeBSD-src-9d188e9d5cda858010e5985995d7becd469456f8.tar.gz |
Only marker is guaranteed to be present on the queue after the relock
in vm_pageout_fallback_object_lock() and vm_pageout_page_lock(). The
check for the m->queue == queue assumes that the page does belong to a
queue.
Modify the 'unchanged' calculation bu dereferencing the marker tailq
pointers, which is known to belong to the queue. Since for a page m
linked to the queue, m->queue must be equal to the queue index, assert
this instead of checking.
In collaboration with: alc
Sponsored by: The FreeBSD Foundation (kib)
MFC after: 2 weeks
Diffstat (limited to 'cddl')
0 files changed, 0 insertions, 0 deletions