diff options
Diffstat (limited to 'sysdep/unix/io.c')
-rw-r--r-- | sysdep/unix/io.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdep/unix/io.c b/sysdep/unix/io.c index dd385c80..91d717d0 100644 --- a/sysdep/unix/io.c +++ b/sysdep/unix/io.c @@ -2193,6 +2193,7 @@ static int short_loops = 0; #define WORK_EVENTS_MAX 10 void pipe_drain(int fd); +void check_stored_pages(void); void io_loop(void) @@ -2215,6 +2216,9 @@ io_loop(void) timers_fire(&main_birdloop.time, 1); io_close_event(); + /* Try to release some memory if possible */ + check_stored_pages(); + // FIXME poll_tout = (events ? 0 : 3000); /* Time in milliseconds */ if (t = timers_first(&main_birdloop.time)) |