diff options
author | Maria Matejka <mq@ucw.cz> | 2022-04-13 11:28:15 +0200 |
---|---|---|
committer | Maria Matejka <mq@ucw.cz> | 2022-04-13 11:36:54 +0200 |
commit | 9eec503b251c3388579032b300d32640403d8612 (patch) | |
tree | bdfdab75fadbb23a7261a887e8ac8a3ac757982e /proto/babel/babel.c | |
parent | 692055e3df6cc9f0d428d3b0dd8cdd8e825eb6f4 (diff) |
Fixed a munmap abort bug
When BIRD was munmapping too many pages, it sometimes aborted, saying
that munmap failed with "Not enough memory" as the address space was
getting more and more fragmented.
There is a workaround in place, simply keeping that page for future use,
yet it has never been compiled in because I somehow forgot to include
errno.h. And because I also thought that somebody may have ENOMEM not
defined (why?!), there was a check which quietly omitted that
workaround.
Anyway, ENOMEM is POSIX. It's an utter nonsense to check for its
existence. If it doesn't exist, something is broken.
Diffstat (limited to 'proto/babel/babel.c')
0 files changed, 0 insertions, 0 deletions