]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
libalias: Restructure - Table for partially links
authorLutz Donnerhacke <donner@FreeBSD.org>
Tue, 25 May 2021 16:27:33 +0000 (18:27 +0200)
committerLutz Donnerhacke <donner@FreeBSD.org>
Sat, 19 Jun 2021 18:03:08 +0000 (20:03 +0200)
commitcac129e6030095c33e95c5ce1cdcb9c5c21efce9
tree57e09a2501b3025a086e1834a8884f2f0b27d566
parent74d7fc8753a76851db6db556ff0f09de1fbb26d5
libalias: Restructure - Table for partially links

Separate the partially specified links into a separate data structure.

This would causes a major parformance impact, if there are many of
them.  Use a (smaller) hash table to speed up the partially link
access.

MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D30570
sys/netinet/libalias/alias_db.c
sys/netinet/libalias/alias_local.h