0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-12-22 17:51:53 +00:00
bird/sysdep
Maria Matejka 020c34136f Table feeds are now lockless
This commit makes the route chains in the tables atomic. This allows not
only standard exports but also feeds and bulk exports to be processed
without ever locking the table.

Design note: the overall data structures are quite brittle. We're using
RCU read-locks to keep track about readers, and we're indicating ongoing
work on the data structures by prepending a REF_OBSOLETE sentinel node
to make every reader go waiting.

All the operations are intended to stay inside nest/rt-table.c and it
may be even best to further refactor the code to hide the routing table
internal structure inside there. Nobody shall definitely write any
routines manipulating live routes in tables from outside.
2024-06-24 09:42:03 +02:00
..
bsd Renamed nest/rt.h back to nest/route.h 2023-10-29 16:29:26 +01:00
bsd-netlink Netlink: move OS-specific headers and defines to sysdep 2022-12-16 19:21:51 +01:00
cf Alloc: Disable transparent huge pages 2023-01-17 17:13:50 +01:00
linux Missing definition of RTAX_FASTOPEN_NO_COOKIE shouldn't kill the whole build 2024-06-24 09:42:03 +02:00
unix Table feeds are now lockless 2024-06-24 09:42:03 +02:00
config.h NEWS and version update 2023-05-11 11:41:01 +02:00
Doc Doc: Rename code documentation files back to Doc 2018-12-14 02:03:42 +01:00
sysdep.sgml Spelling fixes to progdoc. 2000-06-07 12:29:08 +00:00