]> git.ipfire.org Git - thirdparty/bird.git/commit
BGP: Export uses common attribute cache
authorMaria Matejka <mq@ucw.cz>
Wed, 29 May 2024 06:18:31 +0000 (08:18 +0200)
committerMaria Matejka <mq@ucw.cz>
Wed, 19 Feb 2025 12:52:16 +0000 (13:52 +0100)
commite2256caf2aaf435e2e1870425708747bf26fcae0
treeeca4d714354ca6a24fab3b9534232192dcdab9f5
parent2a7735d28cfc85eaf676ca52b3538d9150e43396
BGP: Export uses common attribute cache

There is no real need for storing bucket attributes locally and we may
save some memory by caching the attributes in one central place.

This was a contention problem though, so this commit got reverted,
but now the attribute cache is actually lockless (yay!) and we can
try it again.

If this becomes a contention problem, we should ... no, please not.
Not again! Please!

(Dug out from the history and updated by Katerina Kubecova.)
nest/rt-attr.c
proto/bgp/attrs.c
proto/bgp/bgp.h
proto/bgp/packets.c