bird/sysdep/unix
Maria Matejka 6cd3771378 Multipage allocation
We can also quite simply allocate bigger blocks. Anyway, we need these
blocks to be aligned to their size which needs one mmap() two times
bigger and then two munmap()s returning the unaligned parts.

The user can specify -B <N> on startup when <N> is the exponent of 2,
setting the block size to 2^N. On most systems, N is 12, anyway if you
know that your configuration is going to eat gigabytes of RAM, you are
almost forced to raise your block size as you may easily get into memory
fragmentation issues or you have to raise your maximum mapping count,
e.g. "sysctl vm.max_map_count=(number)".
2021-10-13 19:01:22 +02:00
..
alloc.c Multipage allocation 2021-10-13 19:01:22 +02:00
config.Y Log: Do not open logfiles when parse-and-exit option is active 2020-06-03 14:59:20 +02:00
Doc Doc: Rename code documentation files back to Doc 2018-12-14 02:03:42 +01:00
endian.h OpenBSD port related changes. 2009-05-11 01:32:49 +02:00
io.c Rate-limit scheduling of work-events 2021-03-12 15:35:56 +01:00
krt.c Nest: Clean up main channel handling 2021-09-10 17:32:05 +02:00
krt.h Routing table is now a resource allocated from its own pool 2021-03-30 21:56:08 +02:00
krt.Y Dynamic attributes definition split whether it is bitmask or not. 2019-07-03 00:00:11 +02:00
log.c Debug output uses local buffer to avoid clashes between threads. 2021-09-10 17:37:46 +02:00
main.c Multipage allocation 2021-10-13 19:01:22 +02:00
Makefile Slab: head now uses bitmask for used/free nodes info instead of lists 2021-03-25 16:47:48 +01:00
random.c sysdep: Add wrapper to get random bytes - update 2021-06-06 16:26:06 +02:00
unix.h BGP: Add support for BGP hostname capability 2021-02-10 16:53:57 +01:00