0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-09-20 04:15:19 +00:00
bird/sysdep/unix
Maria Matejka 427177edb7 Logging now doesn't lock with each message
The original logging routines were locking a common mutex. This led to
massive underperformance and unwanted serialization when heavily logging
due to lock contention. Now the logging is lockless, though still
serializing on write() syscalls to the same filedescriptor.

This change also brings in a persistent logging channel structures and
thus avoids writing into active configuration data structures during
regular run.
2023-09-24 20:43:04 +02:00
..
alloc_test.c Fixed a bug in hot page global storage 2023-05-06 10:50:32 +02:00
alloc.c Fixed a bug in hot page global storage 2023-05-06 10:50:32 +02:00
config.Y Logging now doesn't lock with each message 2023-09-24 20:43:04 +02:00
Doc Doc: Rename code documentation files back to Doc 2018-12-14 02:03:42 +01:00
domain.c Refactoring of domains connected to pools 2023-04-25 09:52:28 +02:00
endian.h OpenBSD port related changes. 2009-05-11 01:32:49 +02:00
io-loop.c Logging now doesn't lock with each message 2023-09-24 20:43:04 +02:00
io-loop.h Threads: added a generic method to run in all threads 2023-09-24 20:40:07 +02:00
io.c Logging now doesn't lock with each message 2023-09-24 20:43:04 +02:00
krt.c Resource pools are now bound with domains. 2023-04-24 10:33:28 +02:00
krt.h Merge commit '534d0a4b' into thread-next 2022-08-05 10:37:53 +02:00
krt.Y Conf: Allowing keyword redefinition 2022-05-04 15:39:21 +02:00
log.c Logging now doesn't lock with each message 2023-09-24 20:43:04 +02:00
main.c Logging: Abolished stdio in favor of write() to make the logging faster. 2023-09-24 20:40:06 +02:00
Makefile Fixed a bug in hot page global storage 2023-05-06 10:50:32 +02:00
random.c sysdep: Add wrapper to get random bytes - update 2021-06-06 16:26:06 +02:00
unix.h Logging now doesn't lock with each message 2023-09-24 20:43:04 +02:00