diff options
author | Doug Moore <dougm@FreeBSD.org> | 2024-10-25 22:00:31 +0000 |
---|---|---|
committer | Doug Moore <dougm@FreeBSD.org> | 2024-10-25 22:00:31 +0000 |
commit | 0d965bc03428b66689d311fa4275868dfe27c82e (patch) | |
tree | ca8b61c13d96f0183597d86f85960b0fe572dcb3 /lib/libkldelf/(developers-only) | |
parent | 4b01a7fa76ce5abd0ade631ac5566804ba657090 (diff) | |
download | src-main.tar.gz src-main.zip |
pctrie_toval(node) can be applied to either a leaf or an internal
node; in the latter case it provides the address of the pn_owner
field. In a couple of places where a neighbor search is about to begin
for an iterator, the current code distinguishes the leaf and non-leaf
cases in a way that isn't really necessary. This change shrinks each
function by 16 bytes, and by a branch instruction.
Reviewed by: bnovkov
Differential Revision: https://reviews.freebsd.org/D47207
Diffstat (limited to 'lib/libkldelf/(developers-only)')
0 files changed, 0 insertions, 0 deletions