]> git.ipfire.org Git - thirdparty/bird.git/commit
Revert (partial) "Route attributes now use the common lockfree usecount"
authorMaria Matejka <mq@ucw.cz>
Tue, 11 Jun 2024 08:48:21 +0000 (10:48 +0200)
committerMaria Matejka <mq@ucw.cz>
Wed, 12 Jun 2024 12:48:33 +0000 (14:48 +0200)
commita146abc8fd10439ea02012ccc323ff62007a40ed
tree56a3712abcfdf8fc37114d05092f6a296b4d3776
parent8e240fc44f647e1bf7a291526cfc8e720490cd29
Revert (partial) "Route attributes now use the common lockfree usecount"

This partially reverts commit d617801c31018926cccd75a64186ebb0597a6bcc.

The common lockfree doesn't work well for high-volume structures like
eattr cache because it expects the structure to be cleaned up by a
sweeper routine ... which is very ineffective for >1M records.

OTOH, we need the deferred ea_free in all cases ... so keeping that.
lib/route.h
nest/rt-attr.c