HomeFreeBSD

radix_trie: avoid reloading radix node

Description

radix_trie: avoid reloading radix node

In the vm_radix:remove loop that searches for the last child, load
that child once, without loading it again after the search is over.
Change KASSERTS from index check to NULL node check.
Reviewed by: alc
Differential Revision: https://reviews.freebsd.org/D40721

Details

Provenance
dougmAuthored on Jun 23 2023, 11:47 PM
Reviewer
alc
Differential Revision
D40721: vm_radix: eliminate reload in _remove
Parents
rGe23d45187b28: libarchive: Avoid a build failure with OpenSSL 3.0
Branches
Unknown
Tags
Unknown