HomeFreeBSD

Fix a race in vm_page_pagequeue_lockptr().

Description

Fix a race in vm_page_pagequeue_lockptr().

The value of m->queue must be cached after comparing it with PQ_NONE,
since it may be concurrently changing.

Reported by: glebius
Reviewed by: jeff
Differential Revision: https://reviews.freebsd.org/D15462

Details

Provenance
markjAuthored on
Reviewer
jeff
Differential Revision
D15462: Fix a race in vm_page_pagequeue_lockptr().
Parents
rS333702: Fix netdump configuration when VIMAGE is enabled.
Branches
Unknown
Tags
Unknown