HomeFreeBSD

vm_page: move tailq validation to grab_pages

Description

vm_page: move tailq validation to grab_pages

Function vm_page_acquire_unlocked both looks up pages and validates
them. Much of it serves the needs of only one caller,
vm_page_grab_pages_unlocked, by checking the validity of checking
tailq links. Extract from that function the parts that serve only
vm_page_grab_pages_unlocked, and move them into that function.

Reviewed by: kib
Differential Revision: https://reviews.freebsd.org/D47001

Details

Provenance
dougmAuthored on Oct 15 2024, 4:33 AM
Reviewer
kib
Differential Revision
D47001: vm_page: separate validated from unlocked lookup
Parents
rGc87b3f0006be: uart: uart_getenv: check for NULL class last, not first
Branches
Unknown
Tags
Unknown