HomeFreeBSD

device_pager: user iterators to free device pages

Description

device_pager: user iterators to free device pages

Change cdev_mgtdev_page_free_page to take an iterator, rather than an
object and page, so that removing the page from the object radix tree
can take advantage of locality with iterators. Define a
general-purpose function to free all pages, which can be used in
several places.

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

Details

Provenance
dougmAuthored on Nov 21 2024, 9:49 PM
Reviewer
kib
Differential Revision
D47692: device_pager: user iterators to free device pages
Parents
rGae4f39464c61: ng_parse: disallow negative length for malloc
Branches
Unknown
Tags
Unknown