freebsd-dev/sys/mips
Mark Johnston 5cff1f4dc3 Introduce vm_page_astate.
This is a 32-bit structure embedded in each vm_page, consisting mostly
of page queue state.  The use of a structure makes it easy to store a
snapshot of a page's queue state in a stack variable and use cmpset
loops to update that state without requiring the page lock.

This change merely adds the structure and updates references to atomic
state fields.  No functional change intended.

Reviewed by:	alc, jeff, kib
Sponsored by:	Netflix, Intel
Differential Revision:	https://reviews.freebsd.org/D22650
2019-12-10 18:14:50 +00:00
..
atheros
beri
broadcom
cavium Regularize my copyright notice 2019-12-04 16:56:11 +00:00
conf Use -march=octeon+ for OCTEON1. 2019-10-15 17:28:26 +00:00
include Introduce vm_page_astate. 2019-12-10 18:14:50 +00:00
ingenic Remove "all rights reserved" from copyright for the file that Jared McNeill 2019-12-03 21:05:33 +00:00
malta
mediatek
mips Introduce vm_page_astate. 2019-12-10 18:14:50 +00:00
nlm