HomeFreeBSD

agp: use iterators to speed up lookups

Description

agp: use iterators to speed up lookups

agp_generic_bind_memory and agp_generic_unbind_memory do pctrie
lookups for ranges of consecutive pages. Use iterators to improved the
expected performance of those searches.

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

Details

Provenance
dougmAuthored on Sat, Apr 19, 10:29 PM
Reviewer
kib
Differential Revision
D49917: agp: use iterators to speed up lookups
Parents
rG60c4869ed58d: sgx: replace tailq pointers with iterators
Branches
Unknown
Tags
Unknown