Page MenuHomeFreeBSD

pctrie: simplify lookup_node
ClosedPublic

Authored by dougm on Mon, Jun 9, 7:58 AM.
Tags
None
Referenced Files
F122153987: D50750.id157044.diff
Wed, Jul 2, 6:44 PM
F122136355: D50750.id156847.diff
Wed, Jul 2, 2:56 PM
Unknown Object (File)
Tue, Jul 1, 9:32 PM
Unknown Object (File)
Mon, Jun 30, 9:44 PM
Unknown Object (File)
Mon, Jun 30, 8:56 AM
Unknown Object (File)
Sat, Jun 28, 7:58 AM
Unknown Object (File)
Thu, Jun 26, 2:45 PM
Unknown Object (File)
Thu, Jun 26, 3:57 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

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

dougm requested review of this revision.Mon, Jun 9, 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.Sat, Jun 14, 7:10 PM
This revision was automatically updated to reflect the committed changes.