Skip to content
Snippets Groups Projects
  1. Jan 19, 2023
  2. Nov 29, 2022
  3. Nov 09, 2022
    • Ondřej Zajíček's avatar
      Conf: Make 'configure check' command restricted · bbac9ca9
      Ondřej Zajíček authored
      While it does not directly change BIRD state, it can trigger reading
      arbitrary files and eating significant memory.
      bbac9ca9
    • Ondřej Zajíček's avatar
      Conf: Free stored old config before parsing new one · 371eb490
      Ondřej Zajíček authored
      BIRD keeps a previous (old) configuration for the purpose of undo. The
      existing code frees it after a new configuration is successfully parsed
      during reconfiguration. That causes memory usage spikes as there are
      temporarily three configurations (old, current, and new). The patch
      changes it to free the old one before parsing the new one (as user
      already requested a new config). The disadvantage is that undo is
      not available after failed reconfiguration.
      371eb490
  4. Nov 08, 2022
  5. Nov 07, 2022
  6. Nov 03, 2022
  7. Nov 02, 2022
    • Maria Matejka's avatar
      Memory pages are not munmapped, instead we just madvise() · 9d03c3f5
      Maria Matejka authored
      Memory unmapping causes slow address space fragmentation, leading in
      extreme cases to failing to allocate pages at all. Removing this problem
      by keeping all the pages allocated to us, yet calling madvise() to let
      kernel dispose of them.
      
      This adds a little complexity and overhead as we have to keep the
      pointers to the free pages, therefore to hold e.g. 1 GB of 4K pages with
      8B pointers, we have to store 2 MB of data.
      9d03c3f5
  8. Nov 01, 2022
  9. Oct 18, 2022
  10. Oct 12, 2022
Loading