Page MenuHomeFreeBSD

pctrie: simplify lookup_node
ClosedPublic

Authored by dougm on Jun 9 2025, 7:58 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Oct 3, 5:02 PM
Unknown Object (File)
Fri, Sep 26, 1:31 PM
Unknown Object (File)
Mon, Sep 22, 4:41 PM
Unknown Object (File)
Sat, Sep 20, 1:19 AM
Unknown Object (File)
Wed, Sep 17, 10:49 AM
Unknown Object (File)
Tue, Sep 16, 9:25 AM
Unknown Object (File)
Tue, Sep 16, 5:22 AM
Unknown Object (File)
Sep 14 2025, 9:08 AM
Subscribers

Details

Summary

Change _pctrie_lookup_node to simplify it, avoiding lookup up the root node when it's already been traversed.

Test Plan

stress2 testing in progress

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

dougm requested review of this revision.Jun 9 2025, 7:58 AM
dougm created this revision.
dougm retitled this revision from pctrie: simplify lookup_node with leaf parents of root to pctrie: simplify lookup_node .
dougm edited the summary of this revision. (Show Details)

Discard the "leaf parents of root" part.

This revision is now accepted and ready to land.Jun 14 2025, 7:10 PM
This revision was automatically updated to reflect the committed changes.