FreeBSD/src f93670b (r351437)sys/vm vm_page.c

Stop clearing page flags in vm_page_pqbatch_submit().

All existing callers guarantee that the page does not have a
pre-existing dequeue pending.  Thus, if the page is dequeued before
pqbatch_submit() acquires the page queue lock, we do not need to do
anything since vm_page_dequeue_complete() takes care of clearing all
page queue state flags for us.

With this change, vm_page_pqbatch_submit() has the nice property that it
does not directly modify any fields in the page structure.

Reviewed by:    alc, kib
Tested by:      pho (part of a larger change)
MFC after:      1 week
Sponsored by:   Netflix
Differential Revision:  https://reviews.freebsd.org/D21372
DeltaFile
+0-1sys/vm/vm_page.c
+0-11 files

UnifiedSplitRaw