User Details
- User Since
- May 12 2021, 2:43 PM (239 w, 6 d)
Mar 26 2025
We have not tried VLAN_ARRAY, but I'm sure it would be fine. This isn't really about finding a solution for us, since we have this change already in our codebase and it is working fine for us. This is about providing a fix from our codebase to FreeBSD for a bug that we found. Given that this is low priority for you, it seems to make sense to get this fix in, until you can try alternate ideas.
Mar 25 2025
I think it would be good to move forward with this change, since as Gleb said, the resizing function is definitely broken.
Feb 27 2025
It probably can be implemented correctly, but I think it would require locking while the hash grows or shrinks. This change tries to strike a balance between the speed of VLAN_ARRAY and the memory savings of using the hash table, while avoiding the complexity associated with growing and shrinking the hash table. Growing and shrinking a hash table that can have a max 4096 entries just seems like overkill.
Feb 26 2025
What is needed to continue moving this forward?
